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, 7 insertions, 1 deletions
diff --git a/tests/helpers/run_backends.py b/tests/helpers/run_backends.py
index 57cc9ab..70c82fb 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 = sys.argv[1:]
+ weston, xwayland, test, timers, tablet, hello, input_x11 = sys.argv[1:]
servers = []
with tempfile.TemporaryDirectory(prefix="yasl-backends-") as directory:
root = Path(directory)
@@ -80,10 +80,16 @@ 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)
+ print("Test: X11 UTF-8 keyboard fallback and clipboard", flush=True)
+ subprocess.run([input_x11], 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)
+ print("Test: hello example on", backend, flush=True)
+ subprocess.run([hello, "--smoke-test"],
+ env=env if backend == "wayland" else x_env,
+ check=True, timeout=8)
except BaseException:
for log in (wl_log, x_log):
log.flush()