summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_all.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_all.py b/tests/test_all.py
index 98f9e6a..8948c41 100644
--- a/tests/test_all.py
+++ b/tests/test_all.py
@@ -32,6 +32,11 @@ def sandboxlib_executor(request):
if request.param == 'chroot' and os.getuid() != 0:
pytest.skip('chroot backend can only be used by root users')
+ elif request.param == 'bubblewrap':
+ try:
+ executor.get_program()
+ except sandboxlib.ProgramNotFound:
+ pytest.skip('bubblewrap not found: not running the tests')
return executor