From patchwork Fri Feb 7 14:59:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahab Vahedi X-Patchwork-Id: 37736 Received: (qmail 82058 invoked by alias); 7 Feb 2020 15:01:16 -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 81319 invoked by uid 89); 7 Feb 2020 15:00:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=truly, HX-Languages-Length:1052, naively, wrong! X-HELO: mail-lf1-f66.google.com Received: from mail-lf1-f66.google.com (HELO mail-lf1-f66.google.com) (209.85.167.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Feb 2020 15:00:48 +0000 Received: by mail-lf1-f66.google.com with SMTP id n25so1738695lfl.0 for ; Fri, 07 Feb 2020 07:00:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=saiHTnaqU7AiHZ6kmLhd37qA04DQbNf51bUyPON+8vg=; b=cMs6IGRmD6dSP+hznCwCzNLneiVeAW1o2L8tkHElGNgTxEAp5JQoSUVZ7v4YhIv2PY HC7RcVdajW3zgD5ObT/jB5VBFXkFB2qKti4myAMyR12VxAJhVwd3da4LpncRxMIINalU DkgEIPMMwscZj0KHu8fTgpMZSHBTnGDgqgQw3UnoBgAZEoO2iM8sobyg0sBqSSblXtjt NfGjfVN2iYCoDkpuF1M9iVw5VG+A7/enoJVkojHQcfOHeXLjMDHB07Yh2lN1avLuhJiu 1oEFRr61xM57JcUlCrZU1Ijb2awL6W1ISlktAIB2IoMo1FkXFSol5/vUWeV/ou17Dywx GOKg== Return-Path: Received: from archie.internal.synopsys.com ([2a03:1b20:6:f011::2d]) by smtp.gmail.com with ESMTPSA id p136sm1184412lfa.8.2020.02.07.07.00.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 07:00:39 -0800 (PST) From: Shahab Vahedi To: gdb-patches@sourceware.org Cc: Shahab Vahedi , Shahab Vahedi , Francois Bedard , Anton Kolesov Subject: [PATCH 02/14] gdb/testsuite: Skip fileio.exp for remote targets Date: Fri, 7 Feb 2020 15:59:51 +0100 Message-Id: <20200207150003.8383-3-shahab.vahedi@gmail.com> In-Reply-To: <20200207150003.8383-1-shahab.vahedi@gmail.com> References: <20200207150003.8383-1-shahab.vahedi@gmail.com> MIME-Version: 1.0 From: Anton Kolesov fileio.exp naively assumes that it will be always running on a target where application's output is printed into GDB's stdout. Wrong! If application is run on a gdbserver, then its output is not printed into GDB stdout. gdb/testsuite/ChangeLog: 2016-12-16 Anton Kolesov * gdb.base/fileio.exp: Skip the test if remote. Signed-off-by: Anton Kolesov --- gdb/testsuite/gdb.base/fileio.exp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdb/testsuite/gdb.base/fileio.exp b/gdb/testsuite/gdb.base/fileio.exp index 627a685e118d..241552691c38 100644 --- a/gdb/testsuite/gdb.base/fileio.exp +++ b/gdb/testsuite/gdb.base/fileio.exp @@ -25,6 +25,9 @@ standard_testfile if {[is_remote target]} { set outdir . + verbose "Skipping fileio.exp because it is truly broken for remote " \ + "hosts with gdbservers." + continue } else { set outdir [standard_output_file {}] }