Message ID | 20180403014006.169320-1-erickreyes@google.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="MxdA2KeU"; dkim-atps=neutral Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40FWxg2YNpz9s1t for <incoming@patchwork.ozlabs.org>; Tue, 3 Apr 2018 11:40:20 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id CD8C93E6AF0 for <incoming@patchwork.ozlabs.org>; Tue, 3 Apr 2018 03:40:14 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it [217.194.8.7]) by picard.linux.it (Postfix) with ESMTP id 3EFAE3E6AC1 for <ltp@lists.linux.it>; Tue, 3 Apr 2018 03:40:12 +0200 (CEST) Received: from mail-yb0-x24a.google.com (mail-yb0-x24a.google.com [IPv6:2607:f8b0:4002:c09::24a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by in-7.smtp.seeweb.it (Postfix) with ESMTPS id 314AE2009F1 for <ltp@lists.linux.it>; Tue, 3 Apr 2018 03:40:12 +0200 (CEST) Received: by mail-yb0-x24a.google.com with SMTP id l2-v6so1549262ybk.17 for <ltp@lists.linux.it>; Mon, 02 Apr 2018 18:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:date:message-id:subject:from:to:cc; bh=fi2kUeCk8gy4S5fnVH+Cj/EXY47tXMRmtc4TFleLq40=; b=MxdA2KeUV4PHqLdH2cgAzS698SE/FXDKJmORzI+ftNfx90Kq87YUP6nUkC9gbJlekR 1WTn8H9iAEZFvQzr4+yMzBclQ+M5N90P9ob2unlmDLADjz4zHdgeQT/haQsRYQ7UhvTC 5XdNSSUjbUTeei8kQPlbfSyqytbG8GFc2ZZbkqufH1dS2UqxzGG6B2DBs7N5EoPpoVGk MCGVJStuBpepac+0aSfRqYALrOb5/FphHHP3gsHjHwzIEk+RE9ro2zMBtNNlTNi8fROD Cr0SMQRMylqoFzkWh2ueKT0jBgDNESkc5PTJb4uvINUoPZUv5xwOlTz6mFgQmS3tZkj4 NeVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc; bh=fi2kUeCk8gy4S5fnVH+Cj/EXY47tXMRmtc4TFleLq40=; b=F2u7jtvHmSN7OxbKiPNBHAWCpeDAs9EfRO6ZevfXx1XDTw+ks7biTFQCEFsxqZDibY kqTShzxxu34sojqwe+rxWf1ifIgPYD8OvBZskPQmnf4IrjVj2lU4R5NrjNyreowkHRSa TZgvAKv9XCRJ/wKC28asiZIMzYEc51WKFrxuNjcmPuA5G4/29xUS4PRNpubzN9W7AIx8 smLSgfL+i6N2b0S2bt8gtPbrxMx7eMhEfz8+vLVyAM1eCQl+2q+nFDUNjA8EdFdEco7b WSTzyPAzQn3zq3j3oWi4y4Ojv+hOM2KCf5EGzUOYlXKmzIXbrKkNzWbvOUDeAD4/+OdM yhSA== X-Gm-Message-State: AElRT7FXRi9dwrrX4ia33n87yz+s7uVRlwakQHLqI7e6Y5JdF3lxPiPa N8PZ4SrmZOrhPAqnExE8ia/HqAtCprt/5ZRe/cP58vXgPiqwemacKZZ66+doY+bVZE5LoIZ3q9k HvlqBPWXrqism4jjNFkJd9EuwUFaEX+PsRGh0CMEbefOysqu6AtMMcevIAO/oeJhzBDw= X-Google-Smtp-Source: AIpwx4/JMc4rlgc9emaiLn7fgqcOGM3Q0Kg1Qgjol5VJaYpezMDRGLeKM9uIjRCDJ8NU2ccbAqDt8mk1TmapcQXf MIME-Version: 1.0 X-Received: by 10.129.53.198 with SMTP id c189mr6318019ywa.137.1522719610814; Mon, 02 Apr 2018 18:40:10 -0700 (PDT) Date: Mon, 2 Apr 2018 18:40:06 -0700 Message-Id: <20180403014006.169320-1-erickreyes@google.com> X-Mailer: git-send-email 2.17.0.rc1.321.gba9d0f2565-goog From: Erick Reyes <erickreyes@google.com> To: ltp@lists.linux.it, chrubis@suse.cz, erickreyes@google.com X-Virus-Scanned: clamav-milter 0.99.2 at in-7.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=-7.4 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_PASS,T_RP_MATCHES_RCVD,USER_IN_DEF_SPF_WL autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-7.smtp.seeweb.it Subject: [LTP] [PATCH] Fix floating point tests Android compatibility X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project <ltp.lists.linux.it> List-Unsubscribe: <https://lists.linux.it/options/ltp>, <mailto:ltp-request@lists.linux.it?subject=unsubscribe> List-Archive: <http://lists.linux.it/pipermail/ltp/> List-Post: <mailto:ltp@lists.linux.it> List-Help: <mailto:ltp-request@lists.linux.it?subject=help> List-Subscribe: <https://lists.linux.it/listinfo/ltp>, <mailto:ltp-request@lists.linux.it?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it> |
Series |
Fix floating point tests Android compatibility
|
expand
|
Hi! Pushed, thanks.
diff --git a/testcases/misc/math/float/main.c b/testcases/misc/math/float/main.c index d71ca18e6..7285141a4 100644 --- a/testcases/misc/math/float/main.c +++ b/testcases/misc/math/float/main.c @@ -299,8 +299,6 @@ finished: SAFE_FREE(pcom); } - pthread_cancel(sig_hand); - pthread_join(sig_hand, NULL); SAFE_FREE(tabcom); SAFE_FREE(threads); tst_rmdir();
Floating point tests spawn a signal handler thread, which is then terminated with pthread_cancel / pthread_join calls. Since Android does not implement these functions, the tests were hanging. The function calls to end the signal handler thread are actually not needed, it will just die when the main thread calls exit(). Signed-off-by: Erick Reyes <erickreyes@google.com> --- testcases/misc/math/float/main.c | 2 -- 1 file changed, 2 deletions(-)