mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Christophe Sovant
18.00.2009 5e16c5a4928affdd42e1ca2bd44ae63001d457e9
Fix for issue 3116 => Save tests logs under functional-run/run//report
3 files modified
7 ■■■■■ changed files
opends/tests/staf-tests/shared/ant/tests.xml 4 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/functions/environment.xml 2 ●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/tests/config.py.stubs 1 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/ant/tests.xml
@@ -101,8 +101,8 @@
    <delete dir="${staf.install.dir}/logs"/>
    <echo>Saving report</echo>
    <copy todir="${tests.run.dir}/${tests.run.time}/report">
      <fileset dir="${tests.tmp.dir}">
        <include name="r*"/>
      <fileset dir="${tests.tmp.dir}/${tests.run.time}">
        <include name="**"/>
      </fileset>
    </copy>
    <delete file="${tests.tmp.dir}/percentage.properties"/>
opends/tests/staf-tests/shared/functions/environment.xml
@@ -413,7 +413,7 @@
      <!-- Set variables to build unique path to store data -->
      <script>
        # Private
        logsDate=strftime("%Y%m%d-%H%M%S",localtime())
        logsDate= '%s' % TESTS_RUN_TIME
        logsArch=\
          DSInfo.getServerArch(DSInfo.ServerDict['system os'])
        logsOSName=\
opends/tests/staf-tests/shared/tests/config.py.stubs
@@ -33,6 +33,7 @@
OPENDSNAME                  = '${product.name}'
ZIPNAME                     = '${product.name}.zip'
ZIPPATH                     = '${opends.dir}'
TESTS_RUN_TIME              = '${tests.run.time}'
TESTS_TYPE                  = '${tests.type}'
TESTS_ROOT                  = '%s/tests/staf-tests' % OPENDSDIR
TESTS_DIR                   = '%s/%s' % (TESTS_ROOT, TESTS_TYPE)