This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

[libstdc++-v3 PATCH/RFC] Enable thread tests on *-*-netbsd*


I'd like to enable the pthread tests in libstdc++-v3 on NetBSD, but
I only want to run them if the compiler has threads enabled (right
now with --enable-threads).  Is there a way to do that?

(If run without a threads-enabled compiler, the 6 pthread tests turn
into failures, where before they were untested testcases.)

        * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
        * testsuite/thread/pthread2.cc: Likewise.
        * testsuite/thread/pthread3.cc: Likewise.
        * testsuite/thread/pthread4.cc: Likewise.
        * testsuite/thread/pthread5.cc: Likewise.
        * testsuite/thread/pthread6.cc: Likewise.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: libstdc++-test-patch
Description: Text document

Attachment: libstdc++-test-patch
Description: Text document


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