phpunit is now running the tests, we just need to get them into build/opt/src.

This commit is contained in:
Meredith L. Patterson 2013-11-23 12:45:21 -06:00
parent 42e0707fb8
commit 5917c3a599

View file

@ -17,7 +17,7 @@ Default(swig_src, bindings_src, libhammer_php)
phptestenv = phpenv.Clone()
phptestenv['ENV']['LD_LIBRARY_PATH'] = os.path.dirname(str(libhammer_shared[0]))
phptests = ['Tests']
testphp = phptestenv.Alias("testphp", phptestenv.Command(phptests, [libhammer_php], "phpunit -v --include-path "+os.getcwd()+" $TARGET"))
testphp = phptestenv.Alias("testphp", phptestenv.Command(phptests, [libhammer_php], "phpenv exec phpunit -v --include-path "+os.getcwd()+" $TARGET"))
env['testruns'].append(testphp)
print "Testing: " + str([str(x[0]) for x in env['testruns']])