# HG changeset patch
# User Nick Wellnhofer <wellnhofer@aevum.de>
# Date 1662470844 -7200
#      Tue Sep 06 15:27:24 2022 +0200
# Node ID 690220e3f7e27beb296d031f6cae3c4b1abe2665
# Parent  4239d58dca0d69d2d799a87951842e7b89c7c8a8
autotools: Fix Python tests in VPATH builds

diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -21,7 +21,7 @@
           fi; \
 	  for test in $(TESTSPY) ; do \
 	    echo "-- $$test" ; \
-	    (cd $(srcdir) && $(PYTHON) $$test ) || exit 1; \
+	    $(PYTHON) $(srcdir)/$$test; \
 	  done)
 else
 tests: