com web/qa: Added a note on how to run specific tests, using make test TESTS=X and the name for make on Windows: r unning-tests.php

From: Date: Wed, 17 Aug 2016 16:48:50 +0000
Subject: com web/qa: Added a note on how to run specific tests, using make test TESTS=X and the name for make on Windows: r unning-tests.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-67786@lists.php.net to get a copy of this message
Commit: 06cb697d5ae6cf43cf4a657e35637aace9febe11 Author: Kalle Sommer Nielsen <kalle@php.net> Wed, 17 Aug 2016 18:48:50 +0200 Parents: c501a7677a65e2bc5271825def5f7722229df72e Branches: master Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=06cb697d5ae6cf43cf4a657e35637aace9febe11 Log: Added a note on how to run specific tests, using make test TESTS=X and the name for make on Windows Changed paths: M running-tests.php Diff: diff --git a/running-tests.php b/running-tests.php index 5c8e93b..dca2d1f 100644 --- a/running-tests.php +++ b/running-tests.php @@ -21,6 +21,19 @@ common_header(); enables us to ask you some more information if a test failed. Note that this script also uploads php -i output so your hostname may be transmitted. </p> + + <p> + Specific tests can also be executed, like running tests for a certain extension. To do + this you can do like so (for example the standard library): + <code>make test TESTS=ext/standard</code>. Where <code>TESTS=</code> points to a + directory containing <code>.phpt</code> files. + </p> + + <p> + <strong>Windows users:</strong> On Windows the make command is called <code>nmake</code> + instead of <code>make</code>. This means that on Windows you will have to run + <code>nmake test</code>, to run the test suite. + </p> <?php common_footer(); ?>

« previous php.qa (#67786) next »