[Pkg-php-commits] [php/debian-sid] Print the expected/actual output of failed test
Raphael Geissert
geissert at debian.org
Wed Feb 10 23:02:09 UTC 2010
---
debian/rules | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/debian/rules b/debian/rules
index 7719f25..e183d51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -159,6 +159,12 @@ ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
mkdir -p temp_session_store
env NO_INTERACTION=1 TEST_PHP_CGI_EXECUTABLE=./cgi-build/sapi/cgi/cgi-bin.php5 TEST_PHP_EXECUTABLE=./apache2-build/sapi/cli/php ./apache2-build/sapi/cli/php run-tests.php | tee test-results.txt
rm -rf temp_session_store
+ @for test in `find . -name '*.log' -a '!' -name 'config.log'`; do \
+ echo; \
+ echo -n "$${test#./}:"; \
+ cat $$test; \
+ echo; \
+ done | tee -a test-results.txt
else
echo 'nocheck found in DEB_BUILD_OPTIONS' | tee test-results.txt
endif
--
1.6.3.3
More information about the Pkg-php-commits
mailing list