5 To run a test suite for a package, execute following command: |
5 To run a test suite for a package, execute following command: |
6 |
6 |
7 ../../../projects/smalltalk/stx -I --quick --noBanner -f test-runner.sh \ |
7 ../../../projects/smalltalk/stx -I --quick --noBanner -f test-runner.sh \ |
8 -D <REPORTDIR> -r <REPORT> -p <PACKAGE> [-p <PACKAGE> [-p ... ]] |
8 -D <REPORTDIR> -r <REPORT> -p <PACKAGE> [-p <PACKAGE> [-p ... ]] |
9 |
9 |
10 Where |
10 Where |
11 <REPORTDIR> is a directory where the report files are stored. |
11 <REPORTDIR> is a directory where the report files are stored. |
12 Currently the name of the file is fixed, being |
12 Currently the name of the file is fixed, being |
13 <PACKAGE>-<KIND>.xml. |
13 <PACKAGE>-<KIND>.xml. |
14 <REPORT> Report class name. Currently, only Builder::TestReport |
14 <REPORT> Report class name. Currently, only Builder::TestReport |
15 is supported. |
15 is supported. |
16 <PACKAGE> Smalltalk/X package name for which to generate the report. |
16 <PACKAGE> Smalltalk/X package name for which to generate the report. |
17 |
17 |
18 |
18 |
19 Example: |
19 Example: |
20 |
20 |
21 To run Smalltalk regression tests, issue following command: |
21 To run Smalltalk regression tests, issue following command: |
22 |
22 |
23 ../../../projects/smalltalk/stx -I --quick --noBanner -f test-runner.st \ |
23 ../../../projects/smalltalk/stx -I --quick --noBanner -f test-runner.st \ |
24 -D /tmp -r Builder::TestReport -p exept:regression |
24 -D /tmp -r Builder::TestReport -p stx:goodies/regression |
25 |
25 |
26 When finished, you may find a report in file /tmp/exept_regression-Test.xml |
26 When finished, you may find a report in file /tmp/exept_regression-Test.xml |