bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

renamed Bison tests to work around Autoconf bug with AT_SETUP(...$...)


From: Paul Eggert
Subject: renamed Bison tests to work around Autoconf bug with AT_SETUP(...$...)
Date: Mon, 07 Feb 2005 15:18:45 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

I installed this to work around an Autoconf bug; it doesn't
consistently quote test names with '$' in them, e.g., it miscalculates
the lengths of such names.

Presumably the test names should be just strings, and shouldn't be
expanded by the shell; otherwise, Autoconf calculate their lengths.
But unfortunately they are currently expanded by the shell in some cases.

The Autoconf bug should get fixed, so I'll CC: this to bug-autoconf.

2005-02-07  Paul Eggert  <address@hidden>

        * tests/glr-regression.at (Improper handling of embedded actions
        and dollar(-N) in GLR parsers): Renamed from "Improper handling of
        embedded actions and $-N in GLR parsers", to work around an Autoconf bug
        with dollar signs in test names.
        * tests/input.at (Invalid dollar-n): Renamed from "Invalid \$n",
        for a similar reason.

Index: tests/glr-regression.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/glr-regression.at,v
retrieving revision 1.2
diff -p -u -b -w -r1.2 glr-regression.at
--- tests/glr-regression.at     4 Jun 2003 05:53:44 -0000       1.2
+++ tests/glr-regression.at     7 Feb 2005 23:11:43 -0000
@@ -1,5 +1,5 @@
 # Checking GLR Parsing: Regression Tests           -*- Autotest -*-
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -114,7 +114,7 @@ AT_CLEANUP
 ## Improper handling of embedded actions and $-N in GLR parsers ##
 ## ------------------------------------------------------------ ##
 
-AT_SETUP([Improper handling of embedded actions and $-N in GLR parsers])
+AT_SETUP([Improper handling of embedded actions and dollar(-N) in GLR parsers])
 
 AT_DATA_GRAMMAR([glr-regr2a.y],
 [[/* Regression Test: Improper handling of embedded actions and $-N  */
Index: tests/input.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/input.at,v
retrieving revision 1.30
diff -p -u -b -w -r1.30 input.at
--- tests/input.at      17 Dec 2004 15:24:32 -0000      1.30
+++ tests/input.at      7 Feb 2005 23:11:43 -0000
@@ -1,5 +1,5 @@
 # Checking the Bison scanner.                    -*- Autotest -*-
-# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@ AT_BANNER([[Input Processing.]])
 ## Invalid $n.  ##
 ## ------------ ##
 
-AT_SETUP([Invalid \$n])
+AT_SETUP([Invalid dollar-n])
 
 AT_DATA([input.y],
 [[%%




reply via email to

[Prev in Thread] Current Thread [Next in Thread]