[Pkg-libvirt-commits] [libguestfs] 08/26: php: make the test suite failures fatal

Hilko Bengen bengen at moszumanska.debian.org
Thu Mar 20 23:06:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag upstream/1.25.46
in repository libguestfs.

commit 7fb823e4277148f61222b7174399e209b9cd576c
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Tue Mar 18 14:38:02 2014 +0100

    php: make the test suite failures fatal
    
    So far the failure of some test would have not reported a non-zero
    return value by run-tests.php. Since now all the PHP tests pass, we can
    ask for failures to be fatal, by exporting REPORT_EXIT_STATUS=1 for
    run-tests.php.
---
 php/run-php-tests.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/php/run-php-tests.sh b/php/run-php-tests.sh
index 6f9ae10..e498987 100755
--- a/php/run-php-tests.sh
+++ b/php/run-php-tests.sh
@@ -44,5 +44,4 @@ printenv | grep -E '^(LIBGUESTFS|LIBVIRT|LIBVIRTD|VIRTLOCKD|LD|MALLOC)_' >> env
 TESTS=$(echo guestfs_php_*.phpt)
 echo TESTS: $TESTS
 
-# PHP ignores the result of the tests!
-make test TESTS="$TESTS" PHP_EXECUTABLE="$PWD/php-for-tests.sh"
+make test TESTS="$TESTS" PHP_EXECUTABLE="$PWD/php-for-tests.sh" REPORT_EXIT_STATUS=1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list