implement predicate; decruft; quiet phpunit
This commit is contained in:
parent
c2cde65764
commit
bd48af7b90
3 changed files with 52 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ phplib = phptestenv.Command(os.path.join(phpextprefix, "hammer.so"), libhammer_p
|
|||
AlwaysBuild(phplib)
|
||||
phpprefix = os.popen("php-config --prefix").read().rstrip()
|
||||
phpincl = phptestenv.Command(os.path.join(os.path.join(phpprefix, "etc/conf.d"), "hammer.ini"), "hammer.ini", Copy("$TARGET", "$SOURCE"))
|
||||
phptestexec = phptestenv.Command(phptests, [phplib, phpincl], "phpenv exec phpunit -v --debug --include-path " + os.path.dirname(libhammer_php[0].path) +" src/bindings/php/Tests")
|
||||
phptestexec = phptestenv.Command(phptests, [phplib, phpincl], "phpenv exec phpunit --include-path " + os.path.dirname(libhammer_php[0].path) +" src/bindings/php/Tests")
|
||||
phptest = Alias("testphp", [phptestexec], phptestexec)
|
||||
AlwaysBuild(phptest)
|
||||
testruns.append(phptest)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue