mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
check_call() so that init errors surface earlier
This commit is contained in:
@@ -218,7 +218,7 @@ class TestWallOpenings:
|
||||
|
||||
ts = []
|
||||
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]
|
||||
perf = dict(x.groups() for x in [re.match(pat, l) for l in log] if x)
|
||||
|
||||
Reference in New Issue
Block a user