Skip to content
Snippets Groups Projects
Commit 5917c3a5 authored by Meredith L. Patterson's avatar Meredith L. Patterson
Browse files

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

parent 42e0707f
No related branches found
No related tags found
No related merge requests found
......@@ -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']])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment