Index: src/tests/pybin/tools.py
===================================================================
--- src/tests/pybin/tools.py	(revision 552f5cb4b73c9ef7c7998db595343c3d9be437f6)
+++ src/tests/pybin/tools.py	(revision 56de5932a79f39e0d88f625e73c3c9000b25535d)
@@ -163,6 +163,5 @@
 
 	# Start the walk
-	abspath = os.path.abspath(__main__.__file__)
-	dname = os.path.dirname(abspath)
+	dname = settings.SRCDIR
 	os.path.walk(dname, step, '')
 
