mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 02:21:02 +00:00
check_call() so that init errors surface earlier
This commit is contained in:
@@ -218,7 +218,7 @@ class TestWallOpenings:
|
|||||||
|
|
||||||
ts = []
|
ts = []
|
||||||
for j in range(10 if PERF else 1):
|
for j in range(10 if PERF else 1):
|
||||||
subprocess.call(args, stdout=subprocess.PIPE)
|
subprocess.check_call(args, stdout=subprocess.PIPE)
|
||||||
|
|
||||||
log = [json.loads(ln)["message"] for ln in open(fn + ".log.json") if ln]
|
log = [json.loads(ln)["message"] for ln in open(fn + ".log.json") if ln]
|
||||||
perf = dict(x.groups() for x in [re.match(pat, l) for l in log] if x)
|
perf = dict(x.groups() for x in [re.match(pat, l) for l in log] if x)
|
||||||
|
|||||||
Reference in New Issue
Block a user