cvs: php4 /tests tests.mak
| From: | Preston L. Bannister | Date: | Thu, 16 May 2002 21:46:33 +0000 |
| Subject: | cvs: php4 /tests tests.mak | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11957@lists.php.net to get a copy of this message | ||
pbannister Thu May 16 17:46:33 2002 EDT
Modified files:
/php4/tests tests.mak
Log:
Add TEST_PHP_DETAILED usage for verbose test runs.
Index: php4/tests/tests.mak
diff -u php4/tests/tests.mak:1.1 php4/tests/tests.mak:1.2
--- php4/tests/tests.mak:1.1 Wed May 15 19:56:04 2002
+++ php4/tests/tests.mak Thu May 16 17:46:32 2002
@@ -8,12 +8,20 @@
# Optional - specifies error format to output so IDE can jump to test source and log.
# Values: MSVC (Microsoft Visual C++), Emacs
#
+# TEST_PHP_DETAILED
+# Optional - generates a more complete and detailed log if set.
+# Values: 0 or unset - no details; 1 - detailed.
+#
all : run-tests
BIN=Debug_TS
-run-tests :
+# Specific test(s) to run (all if not specified).
+TESTS=
+
+run-tests :
set TEST_PHP_EXECUTABLE=$(BIN)\php-cgi.exe
set TEST_PHP_ERROR_STYLE=MSVC
- cd .. && $(BIN)\php-cgi.exe -c tests -f run-tests.php | tee tests.log
+ set TEST_PHP_DETAILED=0
+ cd .. && $(BIN)\php-cgi.exe -c tests -f run-tests.php $(TESTS) | tee tests.log