diff options
author | Steven Knight <knight@baldmt.com> | 2003-07-06 05:48:06 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-07-06 05:48:06 (GMT) |
commit | c5831b0eff51205a9a22b8a016f4ff0d03c7fa4e (patch) | |
tree | e3432015f0d1763bcd20f9c4fd1401e186b66730 /runtest.py | |
parent | 06cceae874f05d38bb657924d5f745a218e97d12 (diff) | |
download | SCons-c5831b0eff51205a9a22b8a016f4ff0d03c7fa4e.zip SCons-c5831b0eff51205a9a22b8a016f4ff0d03c7fa4e.tar.gz SCons-c5831b0eff51205a9a22b8a016f4ff0d03c7fa4e.tar.bz2 |
Fix runtest.py if Aegis is installed but it's not being run inside an active change.
Diffstat (limited to 'runtest.py')
-rw-r--r-- | runtest.py | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -157,15 +157,18 @@ def whereis(file): aegis = whereis('aegis') +sp = [] + if aegis: - sp = os.popen("aesub '$sp' 2>/dev/null", "r").read()[:-1] - sp = string.split(sp, os.pathsep) + paths = os.popen("aesub '$sp' 2>/dev/null", "r").read()[:-1] + sp.extend(string.split(paths, os.pathsep)) spe = os.popen("aesub '$spe' 2>/dev/null", "r").read()[:-1] spe = string.split(spe, os.pathsep) else: - sp = [cwd] spe = [] +sp.append(cwd) + class Test: def __init__(self, path, spe=None): self.path = path |