From: Theophile Ranquet Date: Fri, 21 Sep 2012 03:04:43 +0000 (+0200) Subject: new Werror report format fixed in a test X-Git-Tag: v2.7.90~334 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/41511178a71ebaf81bde7ffc682c575537af45cb new Werror report format fixed in a test * tests/input.at : replaced [-Wyacc] with [-Werror=yacc] todo: fix the other failed test of the suite, tests/conflicts.at:1554 --- diff --git a/tests/input.at b/tests/input.at index 056e5785..e57990fe 100644 --- a/tests/input.at +++ b/tests/input.at @@ -1460,7 +1460,7 @@ AT_BISON_CHECK([[-Wno-none input.y]], [[0]], [[]], AT_BISON_CHECK([[-Werror,none,yacc input.y]], [[1]], [[]], [[stderr]]) AT_CHECK([[sed 's/^.*bison:/bison:/' stderr]], [[0]], [[bison: warnings being treated as errors -input.y:2.1-7: warning: POSIX Yacc forbids dashes in symbol names: foo-bar [-Wyacc] +input.y:2.1-7: error: POSIX Yacc forbids dashes in symbol names: foo-bar [-Werror=yacc] ]]) [mv stderr experr] AT_BISON_CHECK([[-Werror,no-all,yacc input.y]], [[1]], [[]], [[experr]])