[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 9/9] tests: fix incorrect test case
From: |
Akim Demaille |
Subject: |
[PATCH 9/9] tests: fix incorrect test case |
Date: |
Thu, 12 Aug 2021 10:18:32 +0200 |
In c2ba260487927a4cdf061fae10fdd1b387ca3d95 ("glr.c: fix signature
when using custom error messages"), I meant to add a test case for C,
not C++. It does not work in C++.
* tests/calc.at: Run for glr.c, not glr.cc.
---
tests/calc.at | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/calc.at b/tests/calc.at
index 47ef720c..831a2b08 100644
--- a/tests/calc.at
+++ b/tests/calc.at
@@ -1389,6 +1389,8 @@ m4_define([AT_CHECK_CALC_GLR],
AT_CHECK_CALC_GLR([%define parse.error detailed %locations %header
%name-prefix "calc" %verbose])
AT_CHECK_CALC_GLR([%define parse.error verbose %locations %header %name-prefix
"calc" %verbose])
+AT_CHECK_CALC_GLR([%define parse.error custom %locations %header %name-prefix
"calc" %verbose])
+
AT_CHECK_CALC_GLR([%debug])
AT_CHECK_CALC_GLR([%define parse.error verbose %debug %locations %header
%name-prefix "calc" %verbose])
AT_CHECK_CALC_GLR([%define parse.error verbose %debug %locations %header
%define api.prefix {calc} %define api.token.prefix {TOK_} %verbose])
@@ -1469,8 +1471,6 @@ m4_define([AT_CHECK_CALC_GLR_CC],
AT_CHECK_CALC_GLR_CC([%define parse.error verbose %debug %name-prefix "calc"
%verbose])
AT_CHECK_CALC_GLR_CC([%define parse.error verbose %debug %name-prefix "calc"
%define api.token.prefix {TOK_} %verbose])
-AT_CHECK_CALC_GLR_CC([%define parse.error custom %locations %header
%name-prefix "calc" %verbose])
-
AT_CHECK_CALC_GLR_CC([%locations %header %define parse.error verbose %debug
%name-prefix "calc" %verbose %parse-param {semantic_value *result}{int
*count}{int *nerrs}])
AT_CHECK_CALC_GLR_CC([%locations %header %define parse.error verbose %debug
%define api.prefix {calc} %verbose %parse-param {semantic_value *result}{int
*count}{int *nerrs}])
--
2.32.0
- [PATCH 4/9] build: check for C++ 20 and 2b, (continued)
[PATCH 6/9] build: modernize to newer Autoconf releases, Akim Demaille, 2021/08/12
[PATCH 7/9] news: be clear that glr2.cc is C++11, Akim Demaille, 2021/08/12
[PATCH 8/9] gnulib: update, Akim Demaille, 2021/08/12
[PATCH 9/9] tests: fix incorrect test case,
Akim Demaille <=