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 "\".
(cherry picked from commit 2ceb8c617c)
This commit is contained in:
Joel E. Denny
2009-10-04 22:59:18 -04:00
parent 69a2ab11cf
commit 9637e0ed1c
3 changed files with 14 additions and 0 deletions

View File

@@ -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> 2009-09-23 Joel E. Denny <jdenny@clemson.edu>
yysyntax_error: avoid duplicate lookahead collection. yysyntax_error: avoid duplicate lookahead collection.

1
THANKS
View File

@@ -58,6 +58,7 @@ Martin Nylin martin.nylin@linuxmail.org
Matt Kraai kraai@alumni.cmu.edu Matt Kraai kraai@alumni.cmu.edu
Matt Rosing rosing@peakfive.com Matt Rosing rosing@peakfive.com
Michael Hayes m.hayes@elec.canterbury.ac.nz Michael Hayes m.hayes@elec.canterbury.ac.nz
Michael Raskin 7c6f434c@mail.ru
Mickael Labau labau_m@epita.fr Mickael Labau labau_m@epita.fr
Mike Castle dalgoda@ix.netcom.com Mike Castle dalgoda@ix.netcom.com
Neil Booth NeilB@earthling.net Neil Booth NeilB@earthling.net

View File

@@ -167,6 +167,10 @@ AT_CHECK_CONFLICTING_OUTPUT([foo.y], [], [-o foo.y],
m4_define([AT_CHECK_OUTPUT_FILE_NAME], m4_define([AT_CHECK_OUTPUT_FILE_NAME],
[AT_SETUP([Output file name: $1]) [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], AT_DATA_GRAMMAR([glr.y],
[[%glr-parser [[%glr-parser
%code { %code {