This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/21526] libstdc++-v3 testsuite hangs on cygwin


------- Additional Comments From mark at codesourcery dot com  2005-05-12 15:15 -------
Subject: Re:  libstdc++-v3 testsuite hangs on cygwin

pcarlini at suse dot de wrote:
> ------- Additional Comments From pcarlini at suse dot de  2005-05-12 10:02 -------
> In other terms, we should tell DejaGNU that all the tests involving fifos must
> be skipped on such platform, because fifos are available but not completely ok.

Sorry; I assumed Cygwin must not have mkfifo, given that the test was 
disabled there; I didn't consider has-mkfifo-but-broken!

The fix for this will be to modify target-supports.exp to check the 
platform as well.

If you change check_mkfifo_available in target-supports.exp to do:

proc check_mkfifo_available {} {
     if {[istarget *-*-cygwin*]} {
       # Cygwin has mkfifo, but support is incomplete.
       return 0
     }

     return [check_function_available "mkfifo"]
}

that should fix it.  Would you mind trying that?

Thanks,



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21526


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]