SHA256
1
0
forked from pool/bison
bison/bison-2.4.1-7439c5c0f949408
OBS User autobuild b476c0f5bf Accepting request 32048 from devel:tools:compiler
Copy from devel:tools:compiler/bison based on submit request 32048 from user rguenther

OBS-URL: https://build.opensuse.org/request/show/32048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bison?expand=0&rev=8
2010-02-11 18:13:12 +00:00

34 lines
1.1 KiB
Plaintext

From 7439c5c0f94940884e998c06b910476c6f6145b5 Mon Sep 17 00:00:00 2001
From: Joel E. Denny <jdenny@clemson.edu>
Date: Mon, 05 Oct 2009 02:59:18 +0000
Subject: 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 2ceb8c617cac934b45f101ab44508d72239c894b)
Conflicts:
THANKS
---
diff --git a/tests/output.at b/tests/output.at
index 971df1e..31298d7 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 {
--
cgit v0.8.2.1