Skip to content
Snippets Groups Projects
Commit 9b701270 authored by Stephan Kuschel's avatar Stephan Kuschel
Browse files

rebuild extensions in run-tests.py

parent 554ec10b
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,8 @@ def exitonfailure(exitstatus, cmd=None): ...@@ -39,6 +39,8 @@ def exitonfailure(exitstatus, cmd=None):
def main(): def main():
# make sure .pyx sources are up to date and compiled
subprocess.call('python2 setup.py build_ext --inplace', shell=True)
# run nose tests # run nose tests
import nose import nose
ex = nose.run() # returns True on success ex = nose.run() # returns True on success
...@@ -50,7 +52,7 @@ def main(): ...@@ -50,7 +52,7 @@ def main():
os.path.join('examples', 'particleshapedemo.py')] os.path.join('examples', 'particleshapedemo.py')]
for cmd in cmds: for cmd in cmds:
print('===== running next command =====') print('===== running next command =====')
print(cmd) print('$ ' + cmd)
exitonfailure(subprocess.call(cmd, shell=True), cmd=cmd) exitonfailure(subprocess.call(cmd, shell=True), cmd=cmd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment