From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 99F255A0267 for ; Tue, 11 Oct 2022 07:40:24 +0200 (CEST) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Mml446XKvz4xGd; Tue, 11 Oct 2022 16:40:20 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1665466820; bh=lS9PPe5fwlTLfJ2yGLPtVjnYmpr5VGl/hTpIUeSZjrc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TVV8gowT40BmENDIqGdEgUYt0yTdvUFiU7rB/mUAtsKw8oygdwhnn417ZIeb+roRa fDz2k/oO3BJzXdPnVNjlHoCO8ekKzxrorASPqAgB+HG8VXlqsOIbvUCz/8xPVkPbCt cqHOpkY/NHz4rbq4+oxR9BHcSsriuCA84pJWJ4sk= From: David Gibson To: Stefano Brivio Subject: [PATCH 01/10] test: Move slower tests to end of test run Date: Tue, 11 Oct 2022 16:40:09 +1100 Message-Id: <20221011054018.1449506-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221011054018.1449506-1-david@gibson.dropbear.id.au> References: <20221011054018.1449506-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: NGLM4O4NWEQW2ORYGTXD4RKOIGVXSB7J X-Message-ID-Hash: NGLM4O4NWEQW2ORYGTXD4RKOIGVXSB7J 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: passt-dev@passt.top, David Gibson X-Mailman-Version: 3.3.3 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: The distro and performance tests are by far the slowest part of the passt testsuite. Move them to the end of the testsuite run, so that it's easier to do a quick test during development by letting the other tests run then interrupting the test runner. Signed-off-by: David Gibson --- test/run | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/run b/test/run index 4bb9cd8..d1f24ef 100755 --- a/test/run +++ b/test/run @@ -65,13 +65,6 @@ run() { test build/clang_tidy teardown build - setup distro - test distro/debian - test distro/fedora - test distro/opensuse - test distro/ubuntu - teardown distro - setup pasta test pasta/ndp test pasta/dhcp @@ -98,6 +91,10 @@ run() { test passt_in_ns/shutdown teardown passt_in_ns + setup two_guests + test two_guests/basic + teardown two_guests + VALGRIND=0 setup passt_in_ns test passt/ndp @@ -109,9 +106,12 @@ run() { test passt_in_ns/shutdown teardown passt_in_ns - setup two_guests - test two_guests/basic - teardown two_guests + setup distro + test distro/debian + test distro/fedora + test distro/opensuse + test distro/ubuntu + teardown distro perf_finish [ ${CI} -eq 1 ] && video_stop -- 2.37.3