tests: do not run qemu interface tests if the environment does not allow it 95/38795/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 20 Jun 2023 14:52:08 +0000 (14:52 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 21 Jun 2023 17:20:03 +0000 (17:20 +0000)
commit9ba6dcf558eeb876f863e13e6250c13341a2a3f0
tree8893de8cf1372b814518c3cf091ac91509e81e15
parent4aeba3776244efe5fbf8de894b6af13a9220762c
tests: do not run qemu interface tests if the environment does not allow it

cdf73b973181ff4c67147900408216e37bae897a has added the qemu tests as part of the default test run,
which results in "make test" failure in more restricted environments which do not allow the
namespace creation.

Add a config flag to skip those tests, and skip them if the namespace creation fails.

Type: test
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: Ie631f7fb2a80864f77c79619eba4a43712e950e5
test/config.py
test/test_vm_vpp_interfaces.py
test/vpp_qemu_utils.py