of iterations per second
- redefine (defmacro!) as (def! (macro*))
- runtest expect fixes:
- - fix C#, VB and Lua
* stop using expect, so we can drop --raw option
+ - fix C#, VB
- fix long line splitting in runtest
- regular expression matching in runtest
- add re (use in rep) everywhere and use that (to avoid printing)
def write(self, str):
self.stdout.write(str)
+ def cleanup(self):
+ if self.p:
+ self.p.terminate()
+ self.p = None
+
+
args = parser.parse_args(sys.argv[1:])
test_data = args.test_file.read().split('\n')
else:
print "Did not get 'user> ' or 'mal-user> ' prompt"
print " Got : %s" % repr(r.buf)
+ r.cleanup()
sys.exit(1)
fail_cnt += 1
except:
print "Got Exception"
+ r.cleanup()
sys.exit(1)
+r.cleanup()
if fail_cnt > 0:
print "FAILURES: %d" % fail_cnt