[darcs-devel] buildbot! And how do I run specific tests?
Mark Stosberg
mark at stosberg.com
Sat Mar 1 03:13:58 UTC 2008
>> How do I run just that one test, from the command-line?
>
> echo testname.pl > tests/tests_to_run
> make test
This question is answered in tests/README.test_maintainers.txt:
Running a single test
---------------------
./bin/prove script.pl
perl shell_harness script.sh
##
The difference with David's recommendation is that using "tests_to_run"
makes the single test to be the only one to be run until that file is
emptied out again, while my suggestion is truly a "one off" solution.
Also, if you use "prove" for Perl test scripts, you'll find it has many
options which might be interesting, such as "--failures--only".
Mark
--
http://mark.stosberg.com/
More information about the darcs-devel
mailing list