From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 0AD953835680; Thu, 23 Jun 2022 08:40:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0AD953835680 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail nanosleep tests on rtems X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: c0ebbb32fea60e7b0b45a13f815db22ddf512080 X-Git-Newrev: 281bf61e30990de393c411042620948d5eecdaf3 Message-Id: <20220623084004.0AD953835680@sourceware.org> Date: Thu, 23 Jun 2022 08:40:04 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2022 08:40:04 -0000 https://gcc.gnu.org/g:281bf61e30990de393c411042620948d5eecdaf3 commit 281bf61e30990de393c411042620948d5eecdaf3 Author: Alexandre Oliva Date: Thu Jun 23 04:13:06 2022 -0300 libstdc++: xfail nanosleep tests on rtems Since it has been determined that nanosleep may return slightly too early on RTEMS, due to clock resolution differences, expect 30_thread/async tests that have detected too-early wakeups to fail on RTEMS targets. for libstdc++-v3/ChangeLog * testsuite/30_threads/async/async.cc: xfail on RTEMS. TN: V608-048 Diff: --- libstdc++-v3/testsuite/30_threads/async/async.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/30_threads/async/async.cc b/libstdc++-v3/testsuite/30_threads/async/async.cc index 38943ff1a9a..e0b731186c4 100644 --- a/libstdc++-v3/testsuite/30_threads/async/async.cc +++ b/libstdc++-v3/testsuite/30_threads/async/async.cc @@ -2,6 +2,7 @@ // { dg-additional-options "-pthread" { target pthread } } // { dg-require-effective-target c++11 } // { dg-require-gthreads "" } +// { dg-xfail-if "nanosleep may wake up too early" { *-*-rtems* } } // Copyright (C) 2010-2022 Free Software Foundation, Inc. //