From e0c29962e6f334452f0c9db2caaf6ed18065de85 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Mon, 17 Aug 2009 19:31:37 -0300 Subject: The End Is the Beginning Is the End --- tests/run_test.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tests/run_test.sh (limited to 'tests/run_test.sh') diff --git a/tests/run_test.sh b/tests/run_test.sh new file mode 100755 index 00000000..ed86ea30 --- /dev/null +++ b/tests/run_test.sh @@ -0,0 +1,13 @@ +#!/usr/bin/python + +# This is a nasty workaround of a CTest limitation +# of setting the environment variables for the test. + + +LIB_PATH=$LD_LIBRARY_PATH:$1 +PYTHON_PATH=$PYTHONPATH:$2 +PYTHON_EXEC=$3 +TEST_FILE=$4 + +LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIB_PATH PYTHONPATH=$PYTHON_PATH $PYTHON_EXEC $TEST_FILE + -- cgit