From patchwork Wed Mar 19 15:58:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 166 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx23.g.dreamhost.com (caibbdcaabja.dreamhost.com [208.113.200.190]) by wilcox.dreamhost.com (Postfix) with ESMTP id 4BE1C3600D6 for ; Wed, 19 Mar 2014 08:58:55 -0700 (PDT) Received: by homiemail-mx23.g.dreamhost.com (Postfix, from userid 14314964) id 0E3FF62E37D8A; Wed, 19 Mar 2014 08:58:55 -0700 (PDT) X-Original-To: gdb@patchwork.siddhesh.in Delivered-To: x14314964@homiemail-mx23.g.dreamhost.com 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 homiemail-mx23.g.dreamhost.com (Postfix) with ESMTPS id B2AA362C2D95E for ; Wed, 19 Mar 2014 08:58:54 -0700 (PDT) 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:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=PWvsRzykIymFm7X1RyXKK4Fbxc0Hsb2 l57R/+dsTRqgAq71LYHoLbrTgxGmrAAUQJf5im/PuRL+i8o8Gce2So+SKKTmSimD 4baabQ7BDrl9FTl6qgY189RgEw414bEyLMi91hg7vaeVZpIz3xRPSd/adgOK6eNm zzda14iQIekI= 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:subject:date:message-id:in-reply-to :references; s=default; bh=zGBf46WBZgG4t8hrfRXeiCWWy/g=; b=djI92 gB+BfWQdnnKoYOcY0h3pqxbqojthcJaY8V+ly1AvL7n6YDpHamrWWhtIDvQ5oRKw l7wWs+LKQIhw6nuUCteB4BQaN1FPkHQ4pggZ1gqDhAHDouWukm6laztjejF8Wyga eVzj/rcmcunJ3cThbeKcDCUo26plnUKrd0/DDo= Received: (qmail 20528 invoked by alias); 19 Mar 2014 15:58:14 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk 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 20483 invoked by uid 89); 19 Mar 2014 15:58:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Mar 2014 15:58:12 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2JFwAWf031746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 19 Mar 2014 11:58:11 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s2JFw1MI008699 for ; Wed, 19 Mar 2014 11:58:10 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PUSHED 7/8] gdb.base/async.exp: Make test messages unique. Date: Wed, 19 Mar 2014 15:58:00 +0000 Message-Id: <1395244681-24272-8-git-send-email-palves@redhat.com> In-Reply-To: <1395244681-24272-1-git-send-email-palves@redhat.com> References: <1395244681-24272-1-git-send-email-palves@redhat.com> X-DH-Original-To: gdb@patchwork.siddhesh.in $ cat gdb.sum| grep PASS| sort | uniq -c |sort -n 1 PASS: gdb.base/async.exp: finish& 1 PASS: gdb.base/async.exp: jump& 1 PASS: gdb.base/async.exp: next& 1 PASS: gdb.base/async.exp: nexti& 1 PASS: gdb.base/async.exp: set exec-done-display off 1 PASS: gdb.base/async.exp: set exec-done-display on 1 PASS: gdb.base/async.exp: set target-async on 1 PASS: gdb.base/async.exp: stepi& 1 PASS: gdb.base/async.exp: until& 2 PASS: gdb.base/async.exp: step& gdb/testsuite/ 2014-03-19 Pedro Alves * gdb.base/async.exp (step& tests): Pass explicit test messages. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/async.exp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a7237d2..7fdc810 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2014-03-19 Pedro Alves + * gdb.base/async.exp (step& tests): Pass explicit test messages. + +2014-03-19 Pedro Alves + * gdb.base/async.exp (test_background): Expect \r\n after "completed." in the fail pattern. diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp index a1c821c..bbe8a27 100644 --- a/gdb/testsuite/gdb.base/async.exp +++ b/gdb/testsuite/gdb.base/async.exp @@ -78,9 +78,9 @@ proc test_background {command before_prompt after_prompt {message ""}} { test_background "next&" "" ".*z = 9.*" -test_background "step&" "" ".*y = foo \\(\\).*" +test_background "step&" "" ".*y = foo \\(\\).*" "step& #1" -test_background "step&" "" " foo \\(\\) at .*async.c.*x = 5.*" +test_background "step&" "" " foo \\(\\) at .*async.c.*x = 5.*" "step& #2" test_background "stepi&" "" ".*$hex.*x = 5.*"