Perl tests are now part of the build system
This commit is contained in:
parent
8c44d583e6
commit
2f3bc9c4b0
4 changed files with 27 additions and 9 deletions
|
|
@ -15,8 +15,8 @@ pytestenv['ENV']['LD_LIBRARY_PATH'] = os.path.dirname(str(libhammer_shared[0]))
|
|||
pytests = ['hammer_tests.py']
|
||||
pytestexec = pytestenv.Command(['hammer.pyc', 'hammer_tests.pyc'], pytests + libhammer_python, "LD_LIBRARY_PATH=" + os.path.dirname(str(libhammer_shared[0])) + " nosetests -vv $SOURCE")
|
||||
pytest = Alias("testpython", [pytestexec], pytestexec)
|
||||
AlwaysBuild(pytest)
|
||||
testruns.append(pytest)
|
||||
AlwaysBuild(pytestexec)
|
||||
testruns.extend(pytest)
|
||||
|
||||
pyinstallexec = pythonenv.Command(None, libhammer_python, 'python ' + os.path.join(pydir, 'setup.py ') + ' install')
|
||||
pyinstall = Alias("installpython", [pyinstallexec], pyinstallexec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue