diff options
Diffstat (limited to 'tests/helpers/run_backends.py')
| -rw-r--r-- | tests/helpers/run_backends.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/helpers/run_backends.py b/tests/helpers/run_backends.py index 8c5428a..57cc9ab 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 = sys.argv[1:] + weston, xwayland, test, timers, tablet = sys.argv[1:] servers = [] with tempfile.TemporaryDirectory(prefix="yasl-backends-") as directory: root = Path(directory) @@ -80,6 +80,10 @@ def main(): x_env["XDG_SESSION_TYPE"] = "x11" print("Test: X11 surface timers", flush=True) subprocess.run([timers], env=x_env, check=True, timeout=8) + for backend in ("wayland", "x11"): + print("Test: tablet example on", backend, flush=True) + subprocess.run([tablet, "--backend", backend, "--smoke-test"], + env=env, check=True, timeout=8) except BaseException: for log in (wl_log, x_log): log.flush() |
