Skip to content

Commit 0f475ee

Browse files
committed
tests/csgrep: use --ignore-parser-warnings where appropriate
... to make the `tests/csgrep/sync.sh` script work again. The script stopped working with commit ec2e76a. Closes: #122
1 parent d4fe1c8 commit 0f475ee

14 files changed

+14
-13
lines changed

Diff for: tests/csgrep/0002-compiler-warnings-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--quiet
1+
--ignore-parser-warnings --quiet

Diff for: tests/csgrep/0003-compiler-warnings-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--quiet --path '^/builddir/build/BUILD/' --event='warning.*' --remove-duplicates
1+
--ignore-parser-warnings --quiet --path '^/builddir/build/BUILD/' --event='warning.*' --remove-duplicates

Diff for: tests/csgrep/0012-llvm-build-warnings-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--quiet --path conftest.c --invert-match --remove-duplicates
1+
--ignore-parser-warnings --quiet --path conftest.c --invert-match --remove-duplicates

Diff for: tests/csgrep/0014-llvm-build-warnings-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--quiet --path conftest.c --invert-match --remove-duplicates --mode=json
1+
--ignore-parser-warnings --quiet --path conftest.c --invert-match --remove-duplicates --mode=json

Diff for: tests/csgrep/0017-compiler-warnings-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--quiet --path '^/builddir/build/BUILD/' --event='warning.*' --remove-duplicates
1+
--ignore-parser-warnings --quiet --path '^/builddir/build/BUILD/' --event='warning.*' --remove-duplicates

Diff for: tests/csgrep/0018-compiler-warnings-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--quiet --path '^/builddir/build/BUILD/' --event='warning.*' --remove-duplicates
1+
--ignore-parser-warnings --quiet --path '^/builddir/build/BUILD/' --event='warning.*' --remove-duplicates

Diff for: tests/csgrep/0019-clang-warnings-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--quiet --remove-duplicates
1+
--ignore-parser-warnings --quiet --remove-duplicates

Diff for: tests/csgrep/0024-compiler-warnings-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--quiet --path ^/builddir/build/BUILD/ --strip-path-prefix /builddir/build/BUILD/
1+
--ignore-parser-warnings --quiet --path ^/builddir/build/BUILD/ --strip-path-prefix /builddir/build/BUILD/

Diff for: tests/csgrep/0025-compiler-warnings-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--quiet --path ^/builddir/build/BUILD/ --strip-path-prefix /builddir/build/BUILD/
1+
--ignore-parser-warnings --quiet --path ^/builddir/build/BUILD/ --strip-path-prefix /builddir/build/BUILD/
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--ignore-parser-warnings --quiet

Diff for: tests/csgrep/0063-gcc-parser-checker-lang-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--mode=json --quiet
1+
--ignore-parser-warnings --mode=json --quiet
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--mode=json --checker CLANG --prune=0 --quiet
1+
--ignore-parser-warnings --mode=json --checker CLANG --prune=0 --quiet

Diff for: tests/csgrep/0102-xml-parser-empty-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--mode=json
1+
--ignore-parser-warnings --mode=json

Diff for: tests/csgrep/0107-gcc-prepend-path-args.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--mode=json --prepend-path-prefix=/builddir/build/BUILD/ --quiet
1+
--ignore-parser-warnings --mode=json --prepend-path-prefix=/builddir/build/BUILD/ --quiet

0 commit comments

Comments
 (0)