From 7439c5c0f94940884e998c06b910476c6f6145b5 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Sun, 4 Oct 2009 22:59:18 -0400 Subject: [PATCH 1/1] tests: skip tests of file names that platform does not support. Reported by Michael Raskin at . * 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 | 9 +++++++++ THANKS | 1 + tests/output.at | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6395ddd8..7389708b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-10-04 Joel E. Denny + + tests: skip tests of file names that platform does not support. + Reported by Michael Raskin at + . + * 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 yysyntax_error: avoid duplicate lookahead collection. diff --git a/THANKS b/THANKS index ab87ff6c..67d66630 100644 --- 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 diff --git a/tests/output.at b/tests/output.at index 971df1e9..31298d7c 100644 --- a/tests/output.at +++ b/tests/output.at @@ -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 { -- 2.45.2