View Issue Details

IDProjectCategoryView StatusLast Update
0023468Open CASCADEOCCT:Testspublic2012-11-16 13:18
ReporterabvAssigned Toabv 
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
Target Version6.5.4Fixed in Version6.5.4 
Summary0023468: Include current branch name into default name of directory for test results
DescriptionWhen automatic tests start with empty argument for name of the directory with results, the name gets generated automatically. Now it includes prefix "results_" and timestamp; it is proposed to add also name of the Git branch (if available).

For instance:

results_CR12345_2012-10-10T18:45
TagsNo tags attached.
Test case number

Activities

abv

2012-10-12 09:16

manager   ~0021743

Fix is pushed to Git branch 23468, please review

abv

2012-10-24 15:04

manager   ~0021923

Next version is pushed to branch CR23468_1. In this version:
- test demo testsystem A1 (now locate_data_file) refactored following recent changes
- HTML report for generated for test cases now includes links to relevant Tcl scripts

abv

2012-11-06 08:36

manager   ~0022094

Next version is in branch CR23468_2. Parameters and default behaviour 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

abv

2012-11-07 15:20

manager   ~0022128

The treatment of the -outdir argument corrected in branch CR23468_2

Related Changesets

occt: master b725d7c5

2012-11-09 11:41:29

abv


Committer: abv Details Diff
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
Affected Issues
0023468
mod - src/DrawResources/DrawDefault Diff File
mod - src/DrawResources/TestCommands.tcl Diff File
rm - tests/demo/begin Diff File
mod - tests/demo/data/file1.empty Diff File
rm - tests/demo/testsystem/A1 Diff File
mod - tests/demo/testsystem/data/file2.empty Diff File
add - tests/demo/testsystem/data/subdir/file6.empty Diff File
add - tests/demo/testsystem/locate_data_file Diff File
add - tests/demo/testsystem/tests_data/demo/file3.empty Diff File
add - tests/demo/testsystem/tests_data/demo/testsystem/file5.empty Diff File
add - tests/demo/testsystem/tests_data/file4.empty Diff File
rm - tests/demo/tests_data/demo/file3.empty Diff File
rm - tests/demo/tests_data/demo/testsystem/file5.empty Diff File
rm - tests/demo/tests_data/file4.empty Diff File
mod - tests/mesh/end Diff File
mod - tests/parse.rules Diff File

Issue History

Date Modified Username Field Change
2012-10-09 20:34 abv New Issue
2012-10-09 20:34 abv Assigned To => mkv
2012-10-12 09:16 abv Note Added: 0021743
2012-10-12 09:16 abv Assigned To mkv => bugmaster
2012-10-12 09:16 abv Status new => resolved
2012-10-24 15:00 abv Target Version => 6.5.4
2012-10-24 15:04 abv Note Added: 0021923
2012-11-06 08:36 abv Note Added: 0022094
2012-11-07 15:20 abv Note Added: 0022128
2012-11-08 14:53 bugmaster Assigned To bugmaster => abv
2012-11-08 14:53 bugmaster Status resolved => reviewed
2012-11-08 14:53 bugmaster Status reviewed => tested
2012-11-12 11:33 abv Changeset attached => occt master b725d7c5
2012-11-12 11:33 abv Status tested => verified
2012-11-12 11:33 abv Resolution open => fixed
2012-11-16 13:13 bugmaster Fixed in Version => 6.5.4
2012-11-16 13:18 bugmaster Status verified => closed