From: stevenknight Date: Thu, 19 Jun 2003 03:05:54 +0000 (+0000) Subject: Fix the ability to execute tests without Aegis. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6719c437b4df2783dcda9dcd3bb1fae0a4f6ff0e;p=scons.git Fix the ability to execute tests without Aegis. git-svn-id: http://scons.tigris.org/svn/scons/trunk@720 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/runtest.py b/runtest.py index aa8db9d0..2fbc9f49 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):