From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130820 invoked by alias); 30 Jan 2017 10:05:58 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 130802 invoked by uid 89); 30 Jan 2017 10:05:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=HX-Envelope-From:sk:mmetzge X-HELO: mga09.intel.com Received: from mga09.intel.com (HELO mga09.intel.com) (134.134.136.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Jan 2017 10:05:48 +0000 Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP; 30 Jan 2017 02:05:46 -0800 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga004.jf.intel.com with ESMTP; 30 Jan 2017 02:05:45 -0800 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id v0UA5iY2022192; Mon, 30 Jan 2017 10:05:44 GMT Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id v0UA5ieE006904; Mon, 30 Jan 2017 11:05:44 +0100 Received: (from mmetzger@localhost) by ulvlx001.iul.intel.com with œ id v0UA5iuE006900; Mon, 30 Jan 2017 11:05:44 +0100 From: Markus Metzger To: gdb-patches@sourceware.org Cc: palves@redhat.com Subject: [PATCH v3 4/5] btrace, testsuite: fix extended-remote non-stop test Date: Mon, 30 Jan 2017 10:05:00 -0000 Message-Id: <1485770743-6603-5-git-send-email-markus.t.metzger@intel.com> In-Reply-To: <1485770743-6603-1-git-send-email-markus.t.metzger@intel.com> References: <1485770743-6603-1-git-send-email-markus.t.metzger@intel.com> X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00645.txt.bz2 With --target_board=native-extended-gdbserver non-stop tests are failing with UNTESTED: gdb.btrace/non-stop.exp: failed to run to main Fix that by adding '-ex "set non-stop on"' to GDBFLAGS before restarting. 2017-01-30 Markus Metzger testsuite/ * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to GDBFLAGS. --- gdb/testsuite/gdb.btrace/non-stop.exp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.btrace/non-stop.exp b/gdb/testsuite/gdb.btrace/non-stop.exp index cda15e2..a671b9c 100644 --- a/gdb/testsuite/gdb.btrace/non-stop.exp +++ b/gdb/testsuite/gdb.btrace/non-stop.exp @@ -25,9 +25,11 @@ if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" "$binfile" executable {debu untested "failed to prepare" return -1 } -clean_restart $testfile -gdb_test_no_output "set non-stop on" +save_vars { GDBFLAGS } { + append GDBFLAGS " -ex \"set non-stop on\"" + clean_restart $testfile +} if ![runto_main] { untested "failed to run to main" -- 1.8.3.1