From 98f0d51157fa2a2b8ccaae54ed4850a88d223d01 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Tue, 13 Oct 2026 15:05:06 +0300 Subject: Simplify surface state, examples, and library installation --- tests/helpers/run_backends.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/helpers') 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: -- cgit v1.2.3