Index: src/tests/pybin/tools.py
===================================================================
--- src/tests/pybin/tools.py	(revision a95c11749598f00148729214ecd78417a38fca57)
+++ src/tests/pybin/tools.py	(revision 36463e21f08098ed15fc49c4083fb7ca58daf44a)
@@ -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, '')
 
