phpunit is now running the tests, we just need to get them into build/opt/src.
This commit is contained in:
parent
42e0707fb8
commit
5917c3a599
1 changed files with 1 additions and 1 deletions
|
|
@ -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']])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue