mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user