tests: use valgrind where appropriate

Reported by Théophile Ranquet.

* tests/glr-regression.at: Rewrite some test cases so that AT_PARSER_CHECK,
which runs valgrind, is exposed with the parser, not with "echo".
* tests/local.at, tests/regression.at, tests/headers.at:
Use AT_PARSER_CHECK for generated parsers.
This commit is contained in:
Akim Demaille
2012-11-10 09:26:40 +01:00
parent 3a526f5cc3
commit 2bb8f621eb
5 changed files with 32 additions and 22 deletions

View File

@@ -1593,7 +1593,7 @@ main (void)
]])
AT_FULL_COMPILE([input])
AT_CHECK([./input], 0, [[x: 1, y: 2
AT_PARSER_CHECK([./input], 0, [[x: 1, y: 2
]])
AT_BISON_OPTION_POPDEFS