aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-10-14 15:25:27 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-10-15 02:10:36 +0200
commitf99e9a333835cc13b7cf4c459774f7d2a1151699 (patch)
tree30bb05a00a715b3834d1b8ea5d0359bc9c534b33
parent7f2a7396e2abb4ea156bf9463005bbefa86f1de1 (diff)
downloadpasst-f99e9a333835cc13b7cf4c459774f7d2a1151699.tar
passt-f99e9a333835cc13b7cf4c459774f7d2a1151699.tar.gz
passt-f99e9a333835cc13b7cf4c459774f7d2a1151699.tar.bz2
passt-f99e9a333835cc13b7cf4c459774f7d2a1151699.tar.lz
passt-f99e9a333835cc13b7cf4c459774f7d2a1151699.tar.xz
passt-f99e9a333835cc13b7cf4c459774f7d2a1151699.tar.zst
passt-f99e9a333835cc13b7cf4c459774f7d2a1151699.zip
test: Move slower tests to end of test run
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 <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-xtest/run20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/run b/test/run
index 1ae270e..4d20b35 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