summaryrefslogtreecommitdiff
path: root/PyUnitTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'PyUnitTests.py')
-rwxr-xr-xPyUnitTests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/PyUnitTests.py b/PyUnitTests.py
index 68cf4d07..71267798 100755
--- a/PyUnitTests.py
+++ b/PyUnitTests.py
@@ -1,3 +1,4 @@
#!/bin/sh
-PYTHONPATH=$PWD:$PYTHONPATH python tests/python/UnitTests.py
+PYTHONPATH="%builddir%":"%srcdir%":$PYTHONPATH \
+ python "%srcdir%"/tests/python/UnitTests.py