]> gitweb.michael.orlitzky.com - dead/census-tools.git/commitdiff
Created a new run_tests script that sets LD_LIBRARY_PATH before running the test...
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 14 Jun 2010 04:57:34 +0000 (00:57 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 14 Jun 2010 04:57:34 +0000 (00:57 -0400)
bin/run_tests [new file with mode: 0755]

diff --git a/bin/run_tests b/bin/run_tests
new file mode 100755 (executable)
index 0000000..6e3a7a1
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+# Add some paths to LD_LIBRARY_PATH in lp_solve_wrapper style.
+
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:../../lib/lp_solve"
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:../lib/lp_solve"
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:./lib/lp_solve"
+
+# Execute the test suite.
+python bin/test_suite