0023468: Include current branch name into default name of directory for test results
authorabv <abv@opencascade.com>
Fri, 9 Nov 2012 11:41:29 +0000 (15:41 +0400)
committerabv <abv@opencascade.com>
Fri, 9 Nov 2012 11:41:29 +0000 (15:41 +0400)
commitb725d7c50a897d4905b602dae9bd9d9068c7acea
treea7f0748d2821d2cc479abc79b21d5f5e8110a035
parent1c4ff5c6470694d6e1849de412c8397769ced574
0023468: Include current branch name into default name of directory for test results

Default name for results directory is generated as "results_<branch>_<timestamp>".

In the HTML log of test execution references to script files are made HTML links to relevant files

Aded possibility to put data file for use by test script into subdirectory data of the script folder (function locate_data_file is extended to find such files).

Test demo/testsystem/A1 renamed to locate_data_file and corrected to account for the recent changes.

Default value of CSF_TestDataPath is defined pointing to $CASROOT/data

File psrse.rules corrected in accordance with changed message on missing data file

Interface of command testgrid changed:
- output directory (formerly required argument) is now defined by optional parameter -outdir
- by default tests are run in parallel mode with number of processes equal to number of system CPUs
- check for input arguments is made more strict
Treatment of parameter -outdir of command testgrid corrected.
Function locate_data_file and code to run tests in parallel revised to be usable with Tcl 8.4.
Adjusting testing case demo draw getsource for current state of master
17 files changed:
src/DrawResources/DrawDefault
src/DrawResources/TestCommands.tcl
tests/demo/begin [deleted file]
tests/demo/data/file1.empty
tests/demo/draw/getsource [changed mode: 0644->0755]
tests/demo/tests_data/demo/file3.empty [deleted file]
tests/demo/tests_data/demo/testsystem/file5.empty [deleted file]
tests/demo/tests_data/file4.empty [deleted file]
tests/demo/testsystem/A1 [deleted file]
tests/demo/testsystem/data/file2.empty
tests/demo/testsystem/data/subdir/file6.empty [new file with mode: 0644]
tests/demo/testsystem/locate_data_file [new file with mode: 0644]
tests/demo/testsystem/tests_data/demo/file3.empty [new file with mode: 0644]
tests/demo/testsystem/tests_data/demo/testsystem/file5.empty [new file with mode: 0644]
tests/demo/testsystem/tests_data/file4.empty [new file with mode: 0644]
tests/mesh/end
tests/parse.rules