aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Billinghurst <David.Billinghurst@riotinto.com>2005-05-16 00:51:38 +0000
committerDavid Billinghurst <billingd@gcc.gnu.org>2005-05-16 00:51:38 +0000
commitcea02b6e7ee16a7f4e568dc63c3f8b27144a5a13 (patch)
tree051a01e0cec68b3d099ca0a8c8cf6f12cda0773b
parent687d386c7fb6b58852882ef512a6b8c87e13ca7f (diff)
downloadgcc-cea02b6e7ee16a7f4e568dc63c3f8b27144a5a13.zip
gcc-cea02b6e7ee16a7f4e568dc63c3f8b27144a5a13.tar.gz
gcc-cea02b6e7ee16a7f4e568dc63c3f8b27144a5a13.tar.bz2
re PR libstdc++/21526 (libstdc++-v3 testsuite hangs on cygwin)
2005-05-16 David Billinghurst <David.Billinghurst@riotinto.com> PR libstdc++/21526 * lib/target-supports.exp (check_mkfifo_available): Return 0 for cygwin as mkfifo support incomplete on platform. Fix typos in comments. From-SVN: r99757
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/lib/target-supports.exp9
2 files changed, 14 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9f9458e..4e40637 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2005-05-16 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ PR libstdc++/21526
+ * lib/target-supports.exp (check_mkfifo_available):
+ Return 0 for cygwin as mkfifo support incomplete on platform.
+ Fix typos in comments.
+
2005-05-15 Mark Mitchell <mark@codesourcery.com>
* lib/compat.exp (compat-execute): Do not use regsub unsafely.
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 90139ff..9306790 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -636,15 +636,20 @@ proc check_function_available { function } {
eval return \$$var
}
-# Returns ture iff "fork" is available on the target system.
+# Returns true iff "fork" is available on the target system.
proc check_fork_available {} {
return [check_function_available "fork"]
}
-# Returns ture iff "mkfifo" is available on the target system.
+# Returns true iff "mkfifo" is available on the target system.
proc check_mkfifo_available {} {
+ if {[istarget *-*-cygwin*]} {
+ # Cygwin has mkfifo, but support is incomplete.
+ return 0
+ }
+
return [check_function_available "mkfifo"]
}