Litmus:Test Suite: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 4: Line 4:


===Running the tests===
===Running the tests===
To run the test suite, just run the <pre>runtests.pl</pre> script. Alternatively, a <pre>make test</pre> will also achieve the same result. The test scripts (located in litmus/t/) will run and the testing harness will produce a report of any failures. For more detail, pass the --verbose switch (<pre>runtests.pl --verbose</pre>) to get a report of all test passes and failures.  
To run the test suite, just run the <pre>runtests.pl</pre> script. Alternatively, a <pre>make test</pre> will also achieve the same result. The test scripts (located in litmus/t/) will run and the testing harness will produce a report of any failures. For more detail, pass the --verbose switch: <pre>runtests.pl --verbose</pre> to get a report of all test passes and failures.  


To save time and run only one specific test, give the test name or number as an argument to <pre>runtests.pl</pre>. For instance, to run just the template filter test (<pre>005filter.t</pre>), run <pre>runtests.pl 005</pre> or <pre>runtests.pl 005filter</pre>.
To save time and run only one specific test, give the test name or number as an argument to <pre>runtests.pl</pre>. For instance, to run just the template filter test (005filter.t), run <pre>runtests.pl 005</pre> or <pre>runtests.pl 005filter</pre>
314

edits