Index: src/tests/pybin/tools.py
===================================================================
--- src/tests/pybin/tools.py	(revision a95c11749598f00148729214ecd78417a38fca57)
+++ src/tests/pybin/tools.py	(revision 4e1572fb56e039f81e65054b3527e10e5b5a287f)
@@ -171,6 +171,5 @@
 
 	# Start the walk
-	abspath = os.path.abspath(__main__.__file__)
-	dname = os.path.dirname(abspath)
+	dname = settings.SRCDIR
 	os.path.walk(dname, step, '')
 
