python tests baked into scons; h_ch needs the first char of its input string as its input

This commit is contained in:
Meredith L. Patterson 2013-11-18 21:14:44 -06:00 committed by Dan Hirsch
parent eba8ecc6c3
commit 073d6d8a27
3 changed files with 226 additions and 228 deletions

View file

@ -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")