python tests baked into scons; h_ch needs the first char of its input string as its input
This commit is contained in:
parent
83fdfd93fd
commit
e8b2c17026
3 changed files with 226 additions and 228 deletions
|
|
@ -13,4 +13,7 @@ pythonenv.Command("hammer.i", "../swig/hammer.i", Copy("$TARGET", "$SOURCE"))
|
|||
|
||||
swig = ['hammer.i']
|
||||
|
||||
libhammer_python = pythonenv.SharedLibrary('hammer', swig)
|
||||
libhammer_python = pythonenv.SharedLibrary('hammer', swig, SHLIBPREFIX='_')
|
||||
|
||||
pytestenv = pythonenv.Clone()
|
||||
pytestenv.Command(None, 'hammer_tests.py', "nosetests $SOURCE")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue