From 47198be850bbdb9c6ecafe8295d2ab6d1307efb6 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Wed, 18 Dec 2024 22:08:36 +0800 Subject: [PATCH] ci: debug --- scripts/test.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/test.py b/scripts/test.py index c23eb050..0c26749d 100644 --- a/scripts/test.py +++ b/scripts/test.py @@ -49,11 +49,9 @@ def start_server(): t6.start() def start_ua2f(u: str): - try: - out = subprocess.check_output([u]) - print(out) - except Exception as e: - print(e) + r = os.system(u) + if r != 0: + print(f"UA2F failed with exit code {r}") exit(-1)