Files
libguestfs/php/extension/php-for-tests.sh.in
Pino Toscano 1f5054daa8 php: Fix the tests yet again.
Move unsetting of LIBGUESTFS_DEBUG & LIBGUESTFS_TRACE into the
php-for-tests.sh wrapper.

Fixes commit 0d69eab98f.
2016-05-03 13:21:34 +01:00

17 lines
491 B
Bash
Executable File

#!/bin/sh
. ./env
# Setting debug or trace isn't very useful because the PHP test script
# mixes stdout and stderr together and compares this to the expected
# output, so you'd just get failures for every test. So there is no
# good way to debug libguestfs failures in PHP tests, but if an
# individual test fails locally then you can edit the
# guestfs_php_*.phpt.in and uncomment the putenv statement, then look
# at the output.
unset LIBGUESTFS_DEBUG
unset LIBGUESTFS_TRACE
@PHP@ $@