From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202412 header.b=S2cQIjPg; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 7CC275A0272 for ; Fri, 20 Dec 2024 09:58:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202412; t=1734685098; bh=FqwV/guRrhl/6TEiB9lOPUz+5BrSfLhDiJwDaqC+dEw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S2cQIjPgAad2A6zHlyHS8da1gXnD8cPO7o9EAspTM8TT3rVSKrHpYEK5A9VCUgwcx mEPvWmHuAFrwI9h+IxF/a3Zm30ubw0PZy2Vij9gv0i4dz52p4rGG4ZMLZhQf/aHWwy CwMCsLoH6iahulWSoEmVy+e6C6ktDZ9f4FR/aGemAvkSCTmGGAJ4+2euEkC34as61m StiiAqjuL0vAoFOPwX7pBC7w5QcUQQQGX0tGHZrKKTVVOrvvvIXr8jRtF4GXEYoFQp pAjB3uaDGGGdrX13YCDjOI632rMnHaJDrgu5ckF4lEESr0TEjaE53e6qgWrjOZCyUN a35VzXimEv0Ag== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4YF1Xp0bsnz4x6T; Fri, 20 Dec 2024 19:58:18 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v2 02/12] hack: stop on fail, but not perf fail Date: Fri, 20 Dec 2024 19:35:25 +1100 Message-ID: <20241220083535.1372523-3-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241220083535.1372523-1-david@gibson.dropbear.id.au> References: <20241220083535.1372523-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: JODHKSQV5VBP4LGOUXZ7F4CCLXHCZ776 X-Message-ID-Hash: JODHKSQV5VBP4LGOUXZ7F4CCLXHCZ776 X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --- test/lib/term | 1 + test/lib/test | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/lib/term b/test/lib/term index ed690de8..81191714 100755 --- a/test/lib/term +++ b/test/lib/term @@ -413,6 +413,7 @@ info_failed() { [ ${FAST} -eq 1 ] || status_bar_blink + exit 1 pause_continue \ "Press any key to pause test session" \ "Resuming in " \ diff --git a/test/lib/test b/test/lib/test index e6726bea..91729af7 100755 --- a/test/lib/test +++ b/test/lib/test @@ -101,7 +101,7 @@ test_one_line() { IFS="${__ifs}" ;; "test") - [ ${TEST_ONE_perf_nok} -eq 0 ] || TEST_ONE_nok=1 + # [ ${TEST_ONE_perf_nok} -eq 0 ] || TEST_ONE_nok=1 [ ${TEST_ONE_nok} -eq 1 ] && status_test_fail [ ${TEST_ONE_nok} -eq 0 ] && status_test_ok @@ -374,7 +374,7 @@ test_one() { [ ${DEMO} -eq 1 ] && return [ ${TEST_ONE_skip} -eq 1 ] && status_test_skip && return - [ ${TEST_ONE_perf_nok} -eq 0 ] || TEST_ONE_nok=1 + # [ ${TEST_ONE_perf_nok} -eq 0 ] || TEST_ONE_nok=1 [ ${TEST_ONE_nok} -eq 0 ] && status_test_ok || status_test_fail } -- 2.47.1