From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98330 invoked by alias); 17 Oct 2017 18:21:37 -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 97790 invoked by uid 89); 17 Oct 2017 18:21:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=UD:delorie.com, bare, H*Ad:U*kevinb X-HELO: 20pmail.ess.barracuda.com Received: from 20pmail.ess.barracuda.com (HELO 20pmail.ess.barracuda.com) (64.235.150.246) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Oct 2017 18:21:35 +0000 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx28.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Tue, 17 Oct 2017 18:21:27 +0000 Received: from [10.20.78.215] (10.20.78.215) by mips01.mipstec.com (10.20.43.31) with Microsoft SMTP Server id 14.3.361.1; Tue, 17 Oct 2017 11:19:13 -0700 Date: Tue, 17 Oct 2017 18:21:00 -0000 From: "Maciej W. Rozycki" To: Pedro Alves CC: Andreas Arnez , Kevin Buettner , Subject: Re: [PATCH 1/2] GDB test suite: Add helper for locating core files In-Reply-To: Message-ID: References: <1505760152-28775-1-git-send-email-arnez@linux.vnet.ibm.com> <1505760152-28775-2-git-send-email-arnez@linux.vnet.ibm.com> <20171007094545.1bba5c51@pinnacle.lan> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-BESS-ID: 1508264485-637138-906-441117-2 X-BESS-VER: 2017.12-r1710102214 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.186063 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status:1 X-SW-Source: 2017-10/txt/msg00540.txt.bz2 On Tue, 17 Oct 2017, Pedro Alves wrote: > >> E.g. when I test your patch on my x86-64 linux box using the > >> following command... > >> > >> make check RUNTESTFLAGS="--target_board=native-gdbserver" > >> > >> ...I see 32 fewer passes than before and also one more known failure. > >> > >> Here are the passes that no longer occur when using your patch: > > > > [...] > > > >> Instead, several warnings are now printed instead: > >> > >> WARNING: Can not generate core dump on remote target. > > > > These warnings are newly introduced by the patch. They are meant to > > improve diagnostics when someone attempts to run the tests on a "real" > > remote target. I wanted to clearly document the fact that this is > > unsupported (and always was). Also, by documenting this restriction, > > maybe someone feels encouraged to lift it ;-) > > Wouldn't an UNTESTED or UNSUPPORTED be better? It's what > we tend to do with other cases of unsupported/untested tests. I think UNSUPPORTED is the right status; UNTESTED is meant for missing tests really; see: UNTESTED A test was not run. This is a placeholder, used when there is no real test case yet. vs: UNSUPPORTED There is no support for the tested case. This may mean that a conditional feature of an operating system, or of a compiler, is not implemented. DejaGnu also uses this message when a testing environment (often a "bare board" target) lacks basic support for compiling or running the test case. For example, a test for the system subroutine gethostname would never work on a target board running only a boot monitor. (taken from ). FWIW, Maciej