File: php-for-tests.sh.in

package info (click to toggle)
libguestfs 1%3A1.54.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 98,892 kB
  • sloc: ansic: 379,443; ml: 38,771; sh: 10,329; java: 9,631; cs: 6,377; haskell: 5,729; makefile: 5,178; python: 3,821; perl: 2,467; erlang: 2,461; ruby: 349; xml: 275; pascal: 257; javascript: 157; cpp: 10
file content (16 lines) | stat: -rwxr-xr-x 491 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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@ $@