Index: tests/Makefile.am
===================================================================
--- tests/Makefile.am	(revision afe8882d4abe48a8b80915cca915209de65e6d15)
+++ tests/Makefile.am	(revision bdff89d2ee10590a49dc59223de798a55d7fa3f4)
@@ -24,5 +24,5 @@
 concurrent=
 
-TEST_PY = python ${srcdir}/test.py
+TEST_PY = python ${builddir}/test.py
 
 # applies to both programs
Index: tests/Makefile.in
===================================================================
--- tests/Makefile.in	(revision afe8882d4abe48a8b80915cca915209de65e6d15)
+++ tests/Makefile.in	(revision bdff89d2ee10590a49dc59223de798a55d7fa3f4)
@@ -301,5 +301,5 @@
 quick_test = avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes
 concurrent = 
-TEST_PY = python ${srcdir}/test.py
+TEST_PY = python ${builddir}/test.py
 
 # applies to both programs
