build_linux: add sample script to build and run tests on linux
authorPaul Brossier <piem@piem.org>
Wed, 11 Jul 2012 02:01:22 +0000 (19:01 -0700)
committerPaul Brossier <piem@piem.org>
Wed, 11 Jul 2012 02:01:22 +0000 (19:01 -0700)
interfaces/python/build_linux [new file with mode: 0755]

diff --git a/interfaces/python/build_linux b/interfaces/python/build_linux
new file mode 100755 (executable)
index 0000000..8d0f01e
--- /dev/null
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+python setup.py clean build
+export PYTHONPATH=./build/lib.linux-x86_64-2.6/
+export LD_LIBRARY_PATH=../../build/src/
+./run_all_tests --verbose