diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-21 14:51:26 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-21 14:52:09 -0300 |
commit | 9af36fbb64f19842c0cc797c0b586b3a686805e8 (patch) | |
tree | 6bbc050ded0f85517ea75f5dc6dc1ed172168248 /tests/run_test.sh | |
parent | aa12538d63685ef8f75adaa79411b751929b727d (diff) |
Added all original pyside unit tests to the shiboken version.
Diffstat (limited to 'tests/run_test.sh')
-rwxr-xr-x | tests/run_test.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/run_test.sh b/tests/run_test.sh new file mode 100755 index 000000000..85058c185 --- /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. + +# $1: LD_LIBRARY_PATH +# $2: $PYTHON_PATH +# $3: python executable +# $4: test file + +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$1 +export PYTHONPATH=$PYTHON_PATH:$2 +$3 $4 |