Commits

Steven Knight  committed 51d775d

Fix the ability to execute tests without Aegis.

  • Participants
  • Parent commits e4a36e2

Comments (0)

Files changed (1)

 
 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):