Move capsule code into C++

This commit is contained in:
Siu Kwan Lam 2013-12-20 18:17:08 -06:00
commit 078f1fe5c1
3 changed files with 708 additions and 169 deletions

View file

@ -48,7 +48,6 @@ def run(verbosity=1):
testresult = runner.run(suite)
print(hp.heap())
if testresult:
# Run isolated tests
print("run isolated tests".center(80, '-'))
@ -60,7 +59,7 @@ def run(verbosity=1):
p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
for line in p.stdout:
print(line, end='')
print(line.decode('utf8'), end='')
p.wait()
if p.returncode:
raise Exception("%s returned: %d" % p.returncode)