From patchwork Sun Feb 9 20:08:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 1235542 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-109306-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha1 header.s=default header.b=d7aGwVi0; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48G0VG2HtMz9sRR for ; Mon, 10 Feb 2020 07:08:52 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; q=dns; s=default; b=IK1 nky0q013U3hyKxemsMAJPExtSZdfiozh6Kh5+ozU4IPWHeD0OIk6qi8ZrqfIl0o/ PDkLhBhroS0TR8v4c8ITLIrgm1ARvI13VYpnYO5mcPS2JR8STAa38yVrfn5rHkQk ksDRUtLVZ7UM0mRbrwUub1kMsaR6McW4W9i8jXKg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=default; bh=DyPQUnnww alMB6E6lI5YmdfIqvs=; b=d7aGwVi0+BfyT3zCNRWQCfpDwAz2OELp+fvXO6DOL dhEyyI5cU1gfTWB+9uZdsig3oEcmVRSRKK7mAs0U0hSHzjlH1G5F7x7A5KVKfjlK pXAnnzfGZlziXXT/4aXdxwS6iJVssxLZGFca6TLoezRaAeCy1Xh8lzH8isuedC2o BM= Received: (qmail 129585 invoked by alias); 9 Feb 2020 20:08:46 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 129571 invoked by uid 89); 9 Feb 2020 20:08:46 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.1 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd, commited] pthread: Move some rwlock tests from nptl to sysdeps/pthread Date: Sun, 9 Feb 2020 21:08:40 +0100 Message-Id: <20200209200840.295157-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 So they can be checked with htl too. --- nptl/Makefile | 9 ++++----- sysdeps/pthread/Makefile | 2 ++ {nptl => sysdeps/pthread}/tst-rwlock-tryrdlock-stall.c | 0 {nptl => sysdeps/pthread}/tst-rwlock-trywrlock-stall.c | 0 {nptl => sysdeps/pthread}/tst-rwlock1.c | 0 {nptl => sysdeps/pthread}/tst-rwlock13.c | 0 {nptl => sysdeps/pthread}/tst-rwlock16.c | 0 {nptl => sysdeps/pthread}/tst-rwlock4.c | 0 {nptl => sysdeps/pthread}/tst-rwlock5.c | 0 9 files changed, 6 insertions(+), 5 deletions(-) rename {nptl => sysdeps/pthread}/tst-rwlock-tryrdlock-stall.c (100%) rename {nptl => sysdeps/pthread}/tst-rwlock-trywrlock-stall.c (100%) rename {nptl => sysdeps/pthread}/tst-rwlock1.c (100%) rename {nptl => sysdeps/pthread}/tst-rwlock13.c (100%) rename {nptl => sysdeps/pthread}/tst-rwlock16.c (100%) rename {nptl => sysdeps/pthread}/tst-rwlock4.c (100%) rename {nptl => sysdeps/pthread}/tst-rwlock5.c (100%) diff --git a/nptl/Makefile b/nptl/Makefile index bf21413c26..3ad3024a39 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -244,10 +244,10 @@ tests = tst-attr2 tst-attr3 tst-default-attr \ tst-robust6 tst-robust7 tst-robust8 tst-robust9 \ tst-robustpi1 tst-robustpi2 tst-robustpi3 tst-robustpi4 tst-robustpi5 \ tst-robustpi6 tst-robustpi7 tst-robustpi8 tst-robustpi9 \ - tst-rwlock1 tst-rwlock2 tst-rwlock2a tst-rwlock2b tst-rwlock3 \ - tst-rwlock4 tst-rwlock5 tst-rwlock6 tst-rwlock7 tst-rwlock8 \ - tst-rwlock9 tst-rwlock10 tst-rwlock11 tst-rwlock12 tst-rwlock13 \ - tst-rwlock14 tst-rwlock15 tst-rwlock16 tst-rwlock17 tst-rwlock18 \ + tst-rwlock2 tst-rwlock2a tst-rwlock2b tst-rwlock3 \ + tst-rwlock6 tst-rwlock7 tst-rwlock8 \ + tst-rwlock9 tst-rwlock10 tst-rwlock11 tst-rwlock12 \ + tst-rwlock14 tst-rwlock15 tst-rwlock17 tst-rwlock18 \ tst-once5 \ tst-key1 tst-key2 tst-key3 tst-key4 \ tst-sem1 tst-sem2 tst-sem3 tst-sem4 tst-sem5 tst-sem6 tst-sem7 \ @@ -306,7 +306,6 @@ tests = tst-attr2 tst-attr3 tst-default-attr \ tst-thread-exit-clobber tst-minstack-cancel tst-minstack-exit \ tst-minstack-throw \ tst-rwlock-pwn \ - tst-rwlock-tryrdlock-stall tst-rwlock-trywrlock-stall \ tst-unwind-thread tests-container = tst-pthread-getattr diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile index 6b49e33bdc..cceaa91837 100644 --- a/sysdeps/pthread/Makefile +++ b/sysdeps/pthread/Makefile @@ -52,6 +52,8 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \ tst-cond-except \ tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex6 tst-mutex10 \ tst-once1 tst-once2 tst-once3 tst-once4 \ + tst-rwlock1 tst-rwlock4 tst-rwlock5 tst-rwlock13 tst-rwlock16 \ + tst-rwlock-tryrdlock-stall tst-rwlock-trywrlock-stall \ tst-spin1 tst-spin2 tst-spin3 tst-spin4 tests += tst-oncex3 tst-oncex4 diff --git a/nptl/tst-rwlock-tryrdlock-stall.c b/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c similarity index 100% rename from nptl/tst-rwlock-tryrdlock-stall.c rename to sysdeps/pthread/tst-rwlock-tryrdlock-stall.c diff --git a/nptl/tst-rwlock-trywrlock-stall.c b/sysdeps/pthread/tst-rwlock-trywrlock-stall.c similarity index 100% rename from nptl/tst-rwlock-trywrlock-stall.c rename to sysdeps/pthread/tst-rwlock-trywrlock-stall.c diff --git a/nptl/tst-rwlock1.c b/sysdeps/pthread/tst-rwlock1.c similarity index 100% rename from nptl/tst-rwlock1.c rename to sysdeps/pthread/tst-rwlock1.c diff --git a/nptl/tst-rwlock13.c b/sysdeps/pthread/tst-rwlock13.c similarity index 100% rename from nptl/tst-rwlock13.c rename to sysdeps/pthread/tst-rwlock13.c diff --git a/nptl/tst-rwlock16.c b/sysdeps/pthread/tst-rwlock16.c similarity index 100% rename from nptl/tst-rwlock16.c rename to sysdeps/pthread/tst-rwlock16.c diff --git a/nptl/tst-rwlock4.c b/sysdeps/pthread/tst-rwlock4.c similarity index 100% rename from nptl/tst-rwlock4.c rename to sysdeps/pthread/tst-rwlock4.c diff --git a/nptl/tst-rwlock5.c b/sysdeps/pthread/tst-rwlock5.c similarity index 100% rename from nptl/tst-rwlock5.c rename to sysdeps/pthread/tst-rwlock5.c