Fix the ability to execute tests without Aegis.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 19 Jun 2003 03:05:54 +0000 (03:05 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 19 Jun 2003 03:05:54 +0000 (03:05 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@720 fdb21ef1-2011-0410-befe-b5e4ea1792b1

runtest.py

index aa8db9d0e7309b0366cbbed8793eb566be2590a0..2fbc9f49d0bf5dac4ccadd45eb24677c74027f19 100644 (file)
@@ -157,13 +157,14 @@ def whereis(file):
 
 aegis = whereis('aegis')
 
-sp = []
-spe = []
 if aegis:
     sp = os.popen("aesub '$sp' 2>/dev/null", "r").read()[:-1]
     sp = string.split(sp, os.pathsep)
     spe = os.popen("aesub '$spe' 2>/dev/null", "r").read()[:-1]
     spe = string.split(spe, os.pathsep)
+else:
+    sp = [cwd]
+    spe = []
 
 class Test:
     def __init__(self, path, spe=None):