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