X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fas3%2Fruntests.py;h=213638dff9ed8f7d08892de1bc9d18e4b434fdcf;hb=a45eb97695095a4d73f2cda97bf5a6c76b41a7f8;hp=a5e865c2f46e6ecce745c24cec7e6ecfcfd95838;hpb=802358aa95688439e3acc0444951ea11a7b1f051;p=swftools.git diff --git a/lib/as3/runtests.py b/lib/as3/runtests.py index a5e865c..213638d 100644 --- a/lib/as3/runtests.py +++ b/lib/as3/runtests.py @@ -132,6 +132,7 @@ class TestBase: self.compile_error = 0 self.compile_output = output if ret: + self.compile_output += "\nExit status %d" % (-ret) self.compile_error = 1 return 0 if not os.path.isfile("abc.swf"): @@ -171,13 +172,13 @@ class TestBase: def doprintlong(self): print self.nr, self.file print "================================" - print "compile:", (test.compile_error and "error" or "ok") - print test.compile_output + print "compile:", (self.compile_error and "error" or "ok") + print self.compile_output if not self.dorun: return print "================================" - print "run:", (test.flash_error and "error" or "ok") - print test.flash_output + print "run:", (self.flash_error and "error" or "ok") + print self.flash_output print "================================" def r(self,s,l):