Rev | Line | |
---|
[5129] | 1 | =head1 NAME |
---|
| 2 | |
---|
| 3 | fcm test-battery |
---|
| 4 | |
---|
| 5 | =head1 SYNOPSIS |
---|
| 6 | |
---|
| 7 | Run FCM self tests. |
---|
| 8 | |
---|
| 9 | fcm test-battery [...] |
---|
| 10 | |
---|
| 11 | =head1 ARGUMENTS |
---|
| 12 | |
---|
| 13 | Change directory to the FCM source tree, and runs this shell commmand: |
---|
| 14 | |
---|
| 15 | exec prove -j "${NPROC:-9}" -s -r "${@:-t}" |
---|
| 16 | |
---|
| 17 | where NPROC is the number of processors on your computer. You can override the |
---|
| 18 | L<prove|prove> command line by specifying extra arguments. E.g. If you do not |
---|
| 19 | want to run the full test suite, you can specify the names of individual test |
---|
| 20 | files or their containing directories as extra arguments. For example: |
---|
| 21 | |
---|
| 22 | Run the full test suite with the default options. |
---|
| 23 | |
---|
| 24 | fcm test-battery |
---|
| 25 | |
---|
| 26 | Run the full test suite with 12 processes. |
---|
| 27 | |
---|
| 28 | fcm test-battery -j 12 |
---|
| 29 | |
---|
| 30 | Run only tests under C<t/fcm-make/> with 12 processes. |
---|
| 31 | |
---|
| 32 | fcm test-battery -j 12 t/fcm-make |
---|
| 33 | |
---|
| 34 | Run only C<t/fcm-make/10-log.t> in verbose mode. |
---|
| 35 | |
---|
| 36 | fcm test-battery -v t/fcm-make/10-log.t |
---|
| 37 | |
---|
| 38 | =head1 OPTIONS |
---|
| 39 | |
---|
| 40 | Environment variables: |
---|
| 41 | |
---|
| 42 | =over 4 |
---|
| 43 | |
---|
| 44 | =item TEST_PROJECT |
---|
| 45 | |
---|
| 46 | If this is set, run CM tests using a project sub-hierarchy in the test |
---|
| 47 | repositories. |
---|
| 48 | |
---|
| 49 | =item TEST_REMOTE_HOST |
---|
| 50 | |
---|
| 51 | If this is set, run CM tests using an auto-generated Subversion server on the |
---|
| 52 | host specified. |
---|
| 53 | |
---|
| 54 | =back |
---|
| 55 | |
---|
| 56 | =cut |
---|
Note: See
TracBrowser
for help on using the repository browser.