hivex: A few tweaks to enable building in a separate directory
[hivex.git] / python / run-python-tests.in
similarity index 94%
rename from python/run-python-tests
rename to python/run-python-tests.in
index e8c8c14..af51080 100755 (executable)
@@ -19,7 +19,7 @@
 set -e
 shopt -s nullglob
 
-for f in t/*.py; do
+for f in $(srcdir)t/*.py; do
   basename "$f"
-  python "$f"
+  @PYTHON@ "$f"
 done