mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: use valgrind where appropriate
Reported by Théophile Ranquet. * cfg.mk (sc_at_parser_check): New. * tests/c++.at: Fix use of AT_CHECK vs. AT_PARSER_CHECK.
This commit is contained in:
@@ -397,7 +397,7 @@ AT_PARSER_CHECK([[./input i]], [[2]], [[]],
|
||||
AT_PARSER_CHECK([[./input aaaap]])
|
||||
|
||||
AT_PARSER_CHECK([[./input --debug aaaap]], [[2]], [[]], [[stderr]])
|
||||
AT_PARSER_CHECK([[grep '^exception caught: printer$' stderr]], [], [ignore])
|
||||
AT_CHECK([[grep '^exception caught: printer$' stderr]], [], [ignore])
|
||||
|
||||
AT_PARSER_CHECK([[./input aaaae]], [[2]], [[]],
|
||||
[[exception caught: syntax error
|
||||
|
||||
Reference in New Issue
Block a user