summaryrefslogtreecommitdiff
path: root/tests/named-refs.at
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-06-26 16:43:22 +0200
committerAkim Demaille <akim@lrde.epita.fr>2012-06-26 16:44:59 +0200
commit297e263a0050959e0fd139ad66e71383fc9ac4db (patch)
treeb91331b3243675bf4a084b532e849550f3012c55 /tests/named-refs.at
parentea9a35c605c075c79da41bfeaaaa07b076bafc01 (diff)
parenta32a2d57a5d931ad1e30d180f9d40b482b674593 (diff)
downloadbison-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.at6
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;
}
]])