From patchwork Thu Mar 26 11:54:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 46364 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5477D21585 for ; Thu, 26 Mar 2015 11:55:00 +0000 (UTC) Received: by wibgr10 with SMTP id gr10sf5124530wib.2 for ; Thu, 26 Mar 2015 04:54:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:mailing-list :precedence:list-id:list-unsubscribe:list-subscribe:list-archive :list-post:list-help:sender:delivered-to:from:to:subject:date :message-id:x-original-sender:x-original-authentication-results; bh=Xo6SuMnu7itZ0uwYwMxnkBXxhVcRQvLLramjEktCNVE=; b=YAXa40uh9zRz1DILjTux+1wYBrn0VW25A0ZyssCdgbgSHk8p/Z8JcgikmWxNl4moaj hZN9ZZGtIs7udZFnZ3hlnV6Vw975uz6jlvPVbKTX3UzzdLzLgE+D4YgfntBoSxT/Hvu/ DPfi0B+Uwe74lGdS8vcO5zkzDj2WoKBXpOoQDuAdy+OgSW/EyKelfX0JKP/JdjqrTE/p kVByOBp9irfGups0TNYb71dOFAa7Z/MtL0Ms3tsQKsWWXzIzhs8K4lE3nB2cqjjkaqbr 8hSh8l7fnUtycYXDnaTTEXamkGgJF708MPueIkmjrfKZ45qRIo/0Af67Qg3A7517XfQR uBpQ== X-Gm-Message-State: ALoCoQldxtorgsSoYgc3jSGvgtZc8Ihm0Kaaylgbf05DuSGhusuwwiNXuNO5qDHWlgZbMCf7K9tE X-Received: by 10.180.81.134 with SMTP id a6mr5476304wiy.1.1427370899481; Thu, 26 Mar 2015 04:54:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.200 with SMTP id d8ls208226laa.34.gmail; Thu, 26 Mar 2015 04:54:59 -0700 (PDT) X-Received: by 10.112.143.195 with SMTP id sg3mr12341717lbb.95.1427370899292; Thu, 26 Mar 2015 04:54:59 -0700 (PDT) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com. [2a00:1450:4010:c03::22e]) by mx.google.com with ESMTPS id eo1si4378479lbc.122.2015.03.26.04.54.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 04:54:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::22e as permitted sender) client-ip=2a00:1450:4010:c03::22e; Received: by lahp7 with SMTP id p7so24389072lah.2 for ; Thu, 26 Mar 2015 04:54:59 -0700 (PDT) X-Received: by 10.112.29.36 with SMTP id g4mr4519934lbh.56.1427370898940; Thu, 26 Mar 2015 04:54:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp550268lbq; Thu, 26 Mar 2015 04:54:58 -0700 (PDT) X-Received: by 10.70.65.105 with SMTP id w9mr25504516pds.129.1427370897166; Thu, 26 Mar 2015 04:54:57 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id a1si8039924pdb.148.2015.03.26.04.54.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 04:54:57 -0700 (PDT) Received-SPF: pass (google.com: domain of gdb-patches-return-121184-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 112079 invoked by alias); 26 Mar 2015 11:54:49 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: List-Unsubscribe: , List-Subscribe: List-Archive: List-Post: , List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 112065 invoked by uid 89); 26 Mar 2015 11:54:49 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, KAM_FROM_URIBL_PCCC, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f174.google.com Received: from mail-pd0-f174.google.com (HELO mail-pd0-f174.google.com) (209.85.192.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 26 Mar 2015 11:54:47 +0000 Received: by pdnc3 with SMTP id c3so60764734pdn.0 for ; Thu, 26 Mar 2015 04:54:46 -0700 (PDT) X-Received: by 10.68.231.40 with SMTP id td8mr25625553pbc.53.1427370886051; Thu, 26 Mar 2015 04:54:46 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id cr1sm5335525pdb.7.2015.03.26.04.54.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Mar 2015 04:54:45 -0700 (PDT) From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH] kfail two tests in no-unwaited-for-left.exp for remote target Date: Thu, 26 Mar 2015 11:54:41 +0000 Message-Id: <1427370881-6028-1-git-send-email-qiyaoltc@gmail.com> X-IsSubscribed: yes X-Original-Sender: qiyaoltc@gmail.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::22e as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com X-Google-Group-Id: 836684582541 From: Yao Qi I see these two fails in no-unwaited-for-left.exp in remote testing for aarch64-linux target. ... continue Continuing. warning: Remote failure reply: E.No unwaited-for children left. [Thread 1084] #2 stopped. (gdb) FAIL: gdb.threads/no-unwaited-for-left.exp: continue stops when thread 2 exits .... continue Continuing. warning: Remote failure reply: E.No unwaited-for children left. [Thread 1081] #1 stopped. (gdb) FAIL: gdb.threads/no-unwaited-for-left.exp: continue stops when the main thread exits I checked the gdb.log on buildbot, and find that these two fails also appear on Debian-i686-native-extended-gdbserver and Fedora-ppc64be-native-gdbserver-m64. I recall that they are about local/remote parity, and related RSP is missing. There has been already a PR 14618 about it. This patch is to kfail them on remote target. gdb/testsuite: 2015-03-26 Yao Qi * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target is remote. --- gdb/testsuite/gdb.threads/no-unwaited-for-left.exp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp b/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp index 518301e..3a43d58 100644 --- a/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp +++ b/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp @@ -37,6 +37,9 @@ gdb_test_no_output "set scheduler-locking on" \ "enable scheduler-locking, for thread 2" # Continue. Thread 2 exits, and the main thread was already stopped. +if [is_remote target] { + setup_kfail "gdb/14618" "*-*-*" +} gdb_test "continue" \ "No unwaited-for children left." \ "continue stops when thread 2 exits" @@ -58,6 +61,9 @@ gdb_continue_to_breakpoint "break-here-2" ".* break-here-2 .*" gdb_test_no_output "set scheduler-locking on" \ "enable scheduler-locking, for main thread" # The main thread exits, and thread 3 was already stopped. +if [is_remote target] { + setup_kfail "gdb/14618" "*-*-*" +} gdb_test "continue" \ "No unwaited-for children left." \ "continue stops when the main thread exits"