From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id iGiOIengCmKragAAWB0awg (envelope-from ) for ; Mon, 14 Feb 2022 18:08:25 -0500 Received: by simark.ca (Postfix, from userid 112) id 86C221F3C5; Mon, 14 Feb 2022 18:08:25 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2505D1EA69 for ; Mon, 14 Feb 2022 18:08:25 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B25723858010 for ; Mon, 14 Feb 2022 23:08:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B25723858010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1644880104; bh=zo9/XTqYtSKPLXudzJlZ8hic9arj3sq7mg7htMT6vBI=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=iA+zo6hu6gRk1sK9ncr9P0M/cPVf05+kEPiqxgxnqmdMpQ2OPYoErYNbZn0JCMzRD uJpiA/FmRpXd3w+qQA7H0r1w20FDB28yAHpsbBwRf5FB7UIkRvbg4fMUL+UrSAI3vd ytONzIAxzY9uBWwqFeJ9/RcejjiLekU+HsMEbO/U= Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by sourceware.org (Postfix) with ESMTPS id 617183858C83 for ; Mon, 14 Feb 2022 23:08:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 617183858C83 To: Subject: [PATCH 12/12] sim/testsuite/cris: If failing compilation, mark C tests as errors MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Message-ID: <20220214230805.4E6F320439@pchp3.se.axis.com> Date: Tue, 15 Feb 2022 00:08:05 +0100 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Hans-Peter Nilsson via Gdb-patches Reply-To: Hans-Peter Nilsson Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" ...when we know we have a working compiler. This will reduce the risk of faulty edits by exposing them rather than hiding them as "unresolved". It also harmonizes behavior with that of run_sim_test. * c/c.exp: Mark C tests failing compilation test errors. --- sim/testsuite/cris/c/c.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/testsuite/cris/c/c.exp b/sim/testsuite/cris/c/c.exp index 3e186e072d8e..ffeccc871864 100644 --- a/sim/testsuite/cris/c/c.exp +++ b/sim/testsuite/cris/c/c.exp @@ -184,7 +184,7 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.c]] { verbose -log "Compiling $src with $opts(cc)" if { [target_compile $src "$objdir/$testname.x" "executable" "$opts(cc)" ] != "" } { - unresolved $testname + fail "$mach $testname (compilation)" continue } -- 2.30.2