1. Miki Tebeka
  2. startime

Commits

Miki Tebeka  committed a476ef9

mzscheme and bail on error

  • Participants
  • Parent commits b9893ed
  • Branches default

Comments (0)

Files changed (1)

File run.py

View file
  • Ignore whitespace
     script("newlisp", "-e", "(exit)"),
     script("clisp", "-q", "-x", "(exit)"),
     script("guile", "-c", ""),
+    script("mzscheme", "-e", ""),
 ]
 
 def timeit(command):
     start = time()
     with open("/dev/null", "wb") as fo:
-        call(command, shell=0, stdout=fo)
+        retval = call(command, shell=0, stdout=fo)
     end = time()
 
+    assert retval == 0, "%s" % " ".join(command)
+
     return end - start
 
 def run():