diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-06-28 09:46:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-06-30 08:45:53 +1000 |
commit | ffd06a4b7d208f37ddcd55857b5b4e256a441808 (patch) | |
tree | 80eadc4333f2f4c4c942c8eefa868ebf6337ab60 /README | |
parent | cdb021538dd50b0d14fc2bdcd941d0f47951d0d1 (diff) |
Describe how to run only a single test case in the README.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'README')
-rw-r--r-- | README | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -55,6 +55,24 @@ the xts-report tool (formerly vswrpt): $ xts-report -f /xts/output/dir/journal +Running a Single Test +===================== +The pt script can be used to run a single set of tests or a single test case +only. For example, to run only the XGrabButton tests, run + $ pt ./XGrabButton + +The logs for the test are saved in a file <testcase>.log, for the example +above the log file would be ./XGrabButton.log. + +The pt script sets up some environment variables, based on TET_ROOT and +other settings. To start the debugger automatically after the environment is +set up, run: + $ pt -gdb ./XGrabButton + +To run only a single test-case inside one test set, use the -i flag. + $ pt -i 10 ./XGrabButton + +This command only runs test case 10 (t010() in the source). Bugs ==== |