diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2012-06-26 16:43:22 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-06-26 16:44:59 +0200 |
commit | 297e263a0050959e0fd139ad66e71383fc9ac4db (patch) | |
tree | b91331b3243675bf4a084b532e849550f3012c55 /tests/named-refs.at | |
parent | ea9a35c605c075c79da41bfeaaaa07b076bafc01 (diff) | |
parent | a32a2d57a5d931ad1e30d180f9d40b482b674593 (diff) | |
download | bison-297e263a0050959e0fd139ad66e71383fc9ac4db.tar.gz |
Merge remote-tracking branch 'origin/maint'
* origin/maint:
tests: do not output m4 set up.
tests: use the generic yyerror function.
tests: use assert instead of plain abort.
tests: improve the generic yylex implementation.
tests: generalize the compilation macros.
tests: fix confusion between api.prefix and name-prefix.
maint: gitignores.
yacc: work around the ylwrap limitation.
Conflicts:
NEWS
tests/local.at
Diffstat (limited to 'tests/named-refs.at')
-rw-r--r-- | tests/named-refs.at | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/named-refs.at b/tests/named-refs.at index 0e6f60c8..2484c438 100644 --- a/tests/named-refs.at +++ b/tests/named-refs.at @@ -162,10 +162,8 @@ int main (int argc, const char **argv) } status = yyparse (); fclose (input); - if (global_result != result) - abort (); - if (global_count != count) - abort (); + assert (global_result == result); + assert (global_count == count); return status; } ]]) |