Index: tests/pybin/settings.py
===================================================================
--- tests/pybin/settings.py	(revision 28582b2f67a95666cd46d6aa6b773838c5711333)
+++ tests/pybin/settings.py	(revision a5121bff2d239413034fc4cc466f9e5b15eebd1b)
@@ -67,4 +67,9 @@
 		self.flags  = """DEBUG_FLAGS="%s" """ % ("-debug" if value else "-nodebug")
 
+class Install:
+	def __init__(self, value):
+		self.string = "installed" if value else "in-tree"
+		self.flags  = """INSTALL_FLAGS="%s" """ % ("" if value else "-in-tree")
+
 def init( options ):
 	global arch
@@ -73,5 +78,5 @@
 	global make
 	global debug
-	global debugFlag
+	global install
 
 	dry_run    = options.dry_run
@@ -79,4 +84,5 @@
 	make       = 'make'
 	debug	     = Debug(options.debug)
+	install    = Install(options.install)
 	arch       = Architecture(options.arch)
 
Index: tests/pybin/tools.py
===================================================================
--- tests/pybin/tools.py	(revision 28582b2f67a95666cd46d6aa6b773838c5711333)
+++ tests/pybin/tools.py	(revision a5121bff2d239413034fc4cc466f9e5b15eebd1b)
@@ -102,4 +102,5 @@
 		test_param,
 		settings.debug.flags,
+		settings.install.flags,
 		flags,
 		target,
