From 9b701270808c97b8b335c13f50ca83846f57aa6e Mon Sep 17 00:00:00 2001 From: Stephan Kuschel <stephan.kuschel@gmail.com> Date: Sun, 15 Mar 2015 13:19:35 +0100 Subject: [PATCH] rebuild extensions in run-tests.py --- run-tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run-tests.py b/run-tests.py index 6741515b..8582e5db 100755 --- a/run-tests.py +++ b/run-tests.py @@ -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 @@ -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)