Even better: run assert_exhaustion only with --all flag

extensions
Volodymyr Shymanskyy 5 years ago
parent 60ab82ef0c
commit a979ab39d9

@ -518,8 +518,8 @@ for fn in jsonFiles:
test.expected[0]["value"] = "<Arithmetic NaN>"
elif test.type == "assert_trap":
test.expected_trap = cmd["text"]
#elif test.type == "assert_exhaustion":
# test.expected_trap = "stack overflow"
elif test.type == "assert_exhaustion" and args.all: # TODO: Remove args.all check
test.expected_trap = "stack overflow"
else:
stats.skipped += 1
warning(f"Skipped {test.source} ({test.type} not implemented)")

Loading…
Cancel
Save