diff --git a/test/run-spec-test.py b/test/run-spec-test.py index f437128..11b3e7b 100755 --- a/test/run-spec-test.py +++ b/test/run-spec-test.py @@ -518,8 +518,8 @@ for fn in jsonFiles: test.expected[0]["value"] = "" 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)")