summaryrefslogtreecommitdiff
path: root/test/PyUnitTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/PyUnitTests.py')
-rwxr-xr-xtest/PyUnitTests.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/PyUnitTests.py b/test/PyUnitTests.py
index a77d99ad..2aed48b9 100755
--- a/test/PyUnitTests.py
+++ b/test/PyUnitTests.py
@@ -1,6 +1,13 @@
-#!/bin/sh
+#!/bin/bash
+
+set -e
+
+PYTHONPATH="%builddir%/.libs":$PYTHONPATH \
+LD_LIBRARY_PATH="%builddir%/.libs":$LD_LIBRARY_PATH \
+DYLD_LIBRARY_PATH="%builddir%/.libs":$DYLD_LIBRARY_PATH \
+ %python% "%builddir%"/test/python/ConvertedTests.py
PYTHONPATH="%builddir%/.libs":$PYTHONPATH \
LD_LIBRARY_PATH="%builddir%/.libs":$LD_LIBRARY_PATH \
DYLD_LIBRARY_PATH="%builddir%/.libs":$DYLD_LIBRARY_PATH \
- %python% "%builddir%"/test/python/UnitTests.py
+ %python% "%srcdir%"/test/python/UnitTests.py