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=202502 header.b=Kg8UDhfb; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 167D95A0275 for ; Thu, 13 Mar 2025 03:56:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202502; t=1741834579; bh=QpgkX8xSw9KLZzkclXFKv6eqee4lIlf4XjgL6wAikGo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kg8UDhfbtO2f1UCrvkLHyt5lOU2l06jwXL0kfc+GpYDsvnEmWt04YWiF7IEWAmNnz 5dlMPU4JM4/PTDoSFnrkh271UxcXGx+Tn9TJc58PHnQsp7Vv9V5IrQFj9puBw1w3eM aV6wDbBlEVaZK4SLS8xE2rn8OiawIXLjGU6fU8/scRB1tyXcGvxeq50yAE/zDPhCj4 UE+ISqgtOFWWhM+/dutwygpL63b3fjMgw4vftjiM5W4XHZTk0WwlPNV0n7G82DS/Cw KmIzsIi1NuhNo9B/uvei4QC4gqClKZPELFmxKU45MK0fbdFncKmIxF+lBODO1SeJ4k SjF7eUE/XpacQ== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4ZCsZq31Zfz4wyV; Thu, 13 Mar 2025 13:56:19 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v2 2/4] hack: stop on fail, but not perf fail Date: Thu, 13 Mar 2025 13:56:15 +1100 Message-ID: <20250313025617.4171306-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250313025617.4171306-1-david@gibson.dropbear.id.au> References: <20250313025617.4171306-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: UAVG6JVEWQ6PNJULLUKBKTTJQKOY2IA6 X-Message-ID-Hash: UAVG6JVEWQ6PNJULLUKBKTTJQKOY2IA6 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 758250a2..8f88567d 100755 --- a/test/lib/test +++ b/test/lib/test @@ -140,7 +140,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 @@ -422,7 +422,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.48.1