mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Move unsetting of LIBGUESTFS_DEBUG & LIBGUESTFS_TRACE into the
php-for-tests.sh wrapper.
Fixes commit 0d69eab98f.
17 lines
491 B
Bash
Executable File
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@ $@
|