diff options
Diffstat (limited to 'src/buildstream/testing/_utils/site.py')
-rw-r--r-- | src/buildstream/testing/_utils/site.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildstream/testing/_utils/site.py b/src/buildstream/testing/_utils/site.py index 0dfbce222..37c807d65 100644 --- a/src/buildstream/testing/_utils/site.py +++ b/src/buildstream/testing/_utils/site.py @@ -81,6 +81,7 @@ BUILDBOX_RUN = None if HAVE_SANDBOX == "buildbox-run": try: path = utils.get_host_tool("buildbox-run") + subprocess.run([path, "--capabilities"], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) BUILDBOX_RUN = os.path.basename(os.readlink(path)) - except (ProgramNotFoundError, OSError): + except (ProgramNotFoundError, OSError, subprocess.CalledProcessError): pass |