1
0
mirror of https://passt.top/passt synced 2024-09-28 18:15:49 +00:00

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>
This commit is contained in:
David Gibson 2022-10-14 15:25:27 +11:00 committed by Stefano Brivio
parent 7f2a7396e2
commit f99e9a3338

View File

@ -65,13 +65,6 @@ run() {
test build/clang_tidy test build/clang_tidy
teardown build teardown build
setup distro
test distro/debian
test distro/fedora
test distro/opensuse
test distro/ubuntu
teardown distro
setup pasta setup pasta
test pasta/ndp test pasta/ndp
test pasta/dhcp test pasta/dhcp
@ -98,6 +91,10 @@ run() {
test passt_in_ns/shutdown test passt_in_ns/shutdown
teardown passt_in_ns teardown passt_in_ns
setup two_guests
test two_guests/basic
teardown two_guests
VALGRIND=0 VALGRIND=0
setup passt_in_ns setup passt_in_ns
test passt/ndp test passt/ndp
@ -109,9 +106,12 @@ run() {
test passt_in_ns/shutdown test passt_in_ns/shutdown
teardown passt_in_ns teardown passt_in_ns
setup two_guests setup distro
test two_guests/basic test distro/debian
teardown two_guests test distro/fedora
test distro/opensuse
test distro/ubuntu
teardown distro
perf_finish perf_finish
[ ${CI} -eq 1 ] && video_stop [ ${CI} -eq 1 ] && video_stop