mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
tests: simplify AT_PARSER_CHECK usage
Currently the caller must specify the ./ prefix to its command. Let's avoid that: it will be nicer to read, make it easier to have a version that works for Java and C/C++. * tests/local.at (AT_PARSER_CHECK): Prefix the command with ./. Adjust callers.
This commit is contained in:
@@ -1299,7 +1299,7 @@ AT_BISON_CHECK([-d -v -o input.c input.y])
|
||||
AT_COMPILE([input.o])
|
||||
AT_COMPILE([main.o])
|
||||
AT_COMPILE([input], [input.o main.o])
|
||||
AT_PARSER_CHECK([./input], 0,
|
||||
AT_PARSER_CHECK([input], 0,
|
||||
[[[@<:@],
|
||||
]])
|
||||
|
||||
@@ -1725,7 +1725,7 @@ int main (void)
|
||||
}
|
||||
]])
|
||||
AT_FULL_COMPILE([input])
|
||||
AT_PARSER_CHECK([./input])
|
||||
AT_PARSER_CHECK([input])
|
||||
|
||||
AT_BISON_OPTION_POPDEFS
|
||||
AT_CLEANUP
|
||||
|
||||
Reference in New Issue
Block a user