aboutgitcodebugslistschat
path: root/test/run
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-08-18 16:13:53 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-08-20 19:07:12 +0200
commit2fa308ac6e5723241dd433e1610395054f7b7b10 (patch)
tree73dca90291487e2e9652fe9ad17aa71aed21f8e2 /test/run
parent058f847348f4ccb81ff9e8d5cef7a8183b3f9dc8 (diff)
downloadpasst-2fa308ac6e5723241dd433e1610395054f7b7b10.tar
passt-2fa308ac6e5723241dd433e1610395054f7b7b10.tar.gz
passt-2fa308ac6e5723241dd433e1610395054f7b7b10.tar.bz2
passt-2fa308ac6e5723241dd433e1610395054f7b7b10.tar.lz
passt-2fa308ac6e5723241dd433e1610395054f7b7b10.tar.xz
passt-2fa308ac6e5723241dd433e1610395054f7b7b10.tar.zst
passt-2fa308ac6e5723241dd433e1610395054f7b7b10.zip
test: Split setup/teardown functions for build and distro tests
Currently the build tests and distro tests share a common setup function. That works for now, but changes we want to make will mean they need slightly different setup, so split the setup functions in preparation. Currently, neither build nor distro tests have any teardown function. Again, future changes are going to mean we need to do some teardown, so create some empty for now teardown functions in preparation. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/run b/test/run
index 258a89b..efec955 100755
--- a/test/run
+++ b/test/run
@@ -63,10 +63,14 @@ run() {
test build/all
test build/cppcheck
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 ndp/pasta