summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-07-23 06:33:30 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-07-23 06:33:30 +0200
commit9c8e6e05b6e84f1abf8ca15cb24801c2eaf9092e (patch)
tree5c7d037772898d044bd931032d67e5f604fc6c15
parent431774d1f6817b3306f8941c0226926eb295c279 (diff)
downloadbison-9c8e6e05b6e84f1abf8ca15cb24801c2eaf9092e.tar.gz
tests: fixes
Fix 6b78e50cef3c2cd8e6f4e7938be987e8769f8eef, "cex: make "rerun with '-Wcex'" a note instead of a warning" * tests/conflicts.at (-W versus %expect and %expect-rr): Fix expectations.
-rw-r--r--tests/conflicts.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conflicts.at b/tests/conflicts.at
index 99d143e3..2b6f4315 100644
--- a/tests/conflicts.at
+++ b/tests/conflicts.at
@@ -2145,7 +2145,7 @@ for gram in sr-rr sr rr; do
issue_note=true
elif test "$sr_exp_i" -ne "$sr_count"; then
echo "error: shift/reduce conflicts: $sr_count found, $sr_exp_i expected"
- if test "$sr_exp_i" -ne 0; then
+ if test "$sr_count" -ne 0; then
issue_note=true
fi
fi
@@ -2154,7 +2154,7 @@ for gram in sr-rr sr rr; do
issue_note=true
elif test "$rr_exp_i" -ne "$rr_count"; then
echo "error: reduce/reduce conflicts: $rr_count found, $rr_exp_i expected"
- if test "$rr_exp_i" -ne 0; then
+ if test "$rr_count" -ne 0; then
issue_note=true
fi
fi