From: Michael Orlitzky Date: Mon, 14 Jun 2010 04:57:34 +0000 (-0400) Subject: Created a new run_tests script that sets LD_LIBRARY_PATH before running the test... X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=8685f61f0bebe6a654acd56d4bc697ceb82dbd66;p=dead%2Fcensus-tools.git Created a new run_tests script that sets LD_LIBRARY_PATH before running the test suite. --- diff --git a/bin/run_tests b/bin/run_tests new file mode 100755 index 0000000..6e3a7a1 --- /dev/null +++ b/bin/run_tests @@ -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