Skip to content

Commit

Permalink
rebuild extensions in run-tests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
skuschel committed Mar 15, 2015
1 parent 554ec10 commit 9b70127
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def exitonfailure(exitstatus, cmd=None):


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
import nose
ex = nose.run() # returns True on success
Expand All @@ -50,7 +52,7 @@ def main():
os.path.join('examples', 'particleshapedemo.py')]
for cmd in cmds:
print('===== running next command =====')
print(cmd)
print('$ ' + cmd)
exitonfailure(subprocess.call(cmd, shell=True), cmd=cmd)


Expand Down

0 comments on commit 9b70127

Please sign in to comment.