summaryrefslogtreecommitdiff
path: root/tests/helpers/run_backends.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/run_backends.py')
-rw-r--r--tests/helpers/run_backends.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/helpers/run_backends.py b/tests/helpers/run_backends.py
index 70c82fb..76fe8ab 100644
--- a/tests/helpers/run_backends.py
+++ b/tests/helpers/run_backends.py
@@ -21,7 +21,7 @@ def wait_for(process, ready):
def main():
- weston, xwayland, test, timers, tablet, hello, input_x11 = sys.argv[1:]
+ weston, xwayland, test, timers, tablet, hello, input_x11, interactive = sys.argv[1:]
servers = []
with tempfile.TemporaryDirectory(prefix="yasl-backends-") as directory:
root = Path(directory)
@@ -87,7 +87,11 @@ def main():
subprocess.run([tablet, "--backend", backend, "--smoke-test"],
env=env, check=True, timeout=8)
print("Test: hello example on", backend, flush=True)
- subprocess.run([hello, "--smoke-test"],
+ subprocess.run([hello],
+ env=env if backend == "wayland" else x_env,
+ check=True, timeout=8)
+ print("Test: interactive example on", backend, flush=True)
+ subprocess.run([interactive, "--smoke-test"],
env=env if backend == "wayland" else x_env,
check=True, timeout=8)
except BaseException: