diff options
author | David Cournapeau <cournape@gmail.com> | 2008-01-18 06:24:13 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-01-18 06:24:13 +0000 |
commit | 9918dd1d19ca7b306ff338a3fdc174c0c9702f25 (patch) | |
tree | 441e246aa700f50bf459f39a2d21afc2e987ee66 /test.sh | |
parent | bced46f0daf57fc0c559f231035b2e11cc238295 (diff) | |
download | numpy-9918dd1d19ca7b306ff338a3fdc174c0c9702f25.tar.gz |
Add simple test script to build/test numpy
Diffstat (limited to 'test.sh')
-rw-r--r-- | test.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test.sh b/test.sh new file mode 100644 index 000000000..46aad9cbc --- /dev/null +++ b/test.sh @@ -0,0 +1,18 @@ +# PREFIX=$PWD +# rm -rf $PREFIX/build +# rm -rf $PREFIX/tmp +# MKL=None python setupscons.py scons --jobs=4 install --prefix=$PREFIX/tmp +# (cd $PREFIX/tmp && PYTHONPATH=$PREFIX/tmp/lib/python2.5/site-packages python -c "import numpy; print numpy; numpy.test(level = 9999); numpy.show_config()") + +PREFIX=$PWD +rm -rf $PREFIX/build +rm -rf $PREFIX/tmp +python setupscons.py scons --jobs=4 install --prefix=$PREFIX/tmp +(cd $PREFIX/tmp && PYTHONPATH=$PREFIX/tmp/lib/python2.5/site-packages python -c "import numpy; print numpy; numpy.test(level = 9999); numpy.show_config()") + +# PREFIX=$PWD +# #rm -rf $PREFIX/build +# #rm -rf $PREFIX/tmp +# MKL=None python setupscons.py scons --jobs=4 --silent=2 install --prefix=$PREFIX/tmp +# (cd $PREFIX/tmp/lib/python2.5/site-packages/numpy/distutils/scons/tests/f2pyext/ && \ +# PYTHONPATH=$PREFIX/tmp/lib/python2.5/site-packages python setup.py scons) |