From f361f52e7d157964f0883802da444cee799efda3 Mon Sep 17 00:00:00 2001 From: Minseong Jang Date: Fri, 25 Mar 2022 00:57:32 +0900 Subject: [PATCH] Ignore line markers from C preprocessing stage --- tests/fuzz.py | 1 + tests/reduce-criteria-template.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fuzz.py b/tests/fuzz.py index 23fded1..4b108e2 100644 --- a/tests/fuzz.py +++ b/tests/fuzz.py @@ -138,6 +138,7 @@ def polish(src, inc_path): args = ["gcc", "-I", inc_path, "-E", + "-P", "-", ] proc = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE) diff --git a/tests/reduce-criteria-template.sh b/tests/reduce-criteria-template.sh index 73ade5f..70d310e 100644 --- a/tests/reduce-criteria-template.sh +++ b/tests/reduce-criteria-template.sh @@ -18,7 +18,6 @@ if grep 'main-return-type' out.txt ||\ grep 'conversions than data arguments' out.txt ||\ grep 'int-conversion' out.txt ||\ - grep 'incompatible redeclaration' out.txt ||\ grep 'ordered comparison between pointer and zero' out.txt ||\ grep 'ordered comparison between pointer and integer' out.txt ||\ grep 'eliding middle term' out.txt ||\