summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-06-19 03:05:54 (GMT)
committerSteven Knight <knight@baldmt.com>2003-06-19 03:05:54 (GMT)
commit89cbcdab1aa03c28d7f9e55bc5c67ac4fece1693 (patch)
tree1dcb208f9accfd8a62316ef729f466e537ac3a1c /runtest.py
parent227953151fc2db46ac525c94d5ba585cbf838181 (diff)
downloadSCons-89cbcdab1aa03c28d7f9e55bc5c67ac4fece1693.zip
SCons-89cbcdab1aa03c28d7f9e55bc5c67ac4fece1693.tar.gz
SCons-89cbcdab1aa03c28d7f9e55bc5c67ac4fece1693.tar.bz2
Fix the ability to execute tests without Aegis.
Diffstat (limited to 'runtest.py')
-rw-r--r--runtest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtest.py b/runtest.py
index aa8db9d..2fbc9f4 100644
--- a/runtest.py
+++ b/runtest.py
@@ -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):