summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPreston L. Bannister <pbannister@php.net>2002-05-16 21:46:32 +0000
committerPreston L. Bannister <pbannister@php.net>2002-05-16 21:46:32 +0000
commitb1dbd42c4bf263a17102495e6911eb7a734ebe37 (patch)
tree5ea9b4c6760a88fa8aa29c5f4a8b7990bc824439 /tests
parent7fa0e68dcc58b6e9d9e716d56299922654fe3c78 (diff)
downloadphp-git-b1dbd42c4bf263a17102495e6911eb7a734ebe37.tar.gz
Add TEST_PHP_DETAILED usage for verbose test runs.
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.mak12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/tests.mak b/tests/tests.mak
index b4dff5091c..8b47143544 100644
--- a/tests/tests.mak
+++ b/tests/tests.mak
@@ -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