Fix for issue 3116 => Save tests logs under functional-run/run//report
| | |
| | | <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"/> |
| | |
| | | <!-- 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=\ |
| | |
| | | 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) |