]> git.saurik.com Git - bison.git/commitdiff
tests: skip tests of file names that platform does not support.
authorJoel E. Denny <jdenny@clemson.edu>
Mon, 5 Oct 2009 02:59:18 +0000 (22:59 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Mon, 5 Oct 2009 03:23:08 +0000 (23:23 -0400)
Reported by Michael Raskin at
<http://lists.gnu.org/archive/html/bug-bison/2009-09/msg00001.html>.
* THANKS (Michael Raskin): Add.
* tests/output.at (AT_CHECK_OUTPUT_FILE_NAME): Fix.  Cygwin used
to fail at least for file names containing ":" or "\".
(cherry picked from commit 2ceb8c617cac934b45f101ab44508d72239c894b)

Conflicts:

THANKS

ChangeLog
THANKS
tests/output.at

index 6395ddd89db099e0444dea4c94656d4deda4f5cc..7389708b8592faa07d6f157f251489d614159435 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-10-04  Joel E. Denny  <jdenny@clemson.edu>
+
+       tests: skip tests of file names that platform does not support.
+       Reported by Michael Raskin at
+       <http://lists.gnu.org/archive/html/bug-bison/2009-09/msg00001.html>.
+       * THANKS (Michael Raskin): Add.
+       * tests/output.at (AT_CHECK_OUTPUT_FILE_NAME): Fix.  Cygwin used
+       to fail at least for file names containing ":" or "\".
+
 2009-09-23  Joel E. Denny  <jdenny@clemson.edu>
 
        yysyntax_error: avoid duplicate lookahead collection.
diff --git a/THANKS b/THANKS
index ab87ff6cb6b0f6b6f442b1bc6da39f168b731085..67d666301218fbaba8e5b43ffb0d4b451c695555 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -58,6 +58,7 @@ Martin Nylin              martin.nylin@linuxmail.org
 Matt Kraai                kraai@alumni.cmu.edu
 Matt Rosing               rosing@peakfive.com
 Michael Hayes             m.hayes@elec.canterbury.ac.nz
+Michael Raskin            7c6f434c@mail.ru
 Michiel De Wilde          mdewilde.agilent@gmail.com
 Mickael Labau             labau_m@epita.fr
 Mike Castle               dalgoda@ix.netcom.com
index 971df1e9e7476fd76bf3a835bf2afadc4772ceeb..31298d7c73a4c92ba38ce1772324e568b5d0b02c 100644 (file)
@@ -175,6 +175,10 @@ AT_CHECK_CONFLICTING_OUTPUT([foo.y], [], [-o foo.y],
 m4_define([AT_CHECK_OUTPUT_FILE_NAME],
 [AT_SETUP([Output file name: $1])
 
+# Skip if platform doesn't support file name.  For example, Cygwin
+# doesn't support file names containing ":" or "\".
+AT_CHECK([[touch "]AS_ESCAPE([$1[.tmp]])[" || exit 77]])
+
 AT_DATA_GRAMMAR([glr.y],
 [[%glr-parser
 %code {