From 2c2d7ca9608b1007f6174e528be2d59b2613b9d0 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Wed, 24 Dec 2025 14:22:50 +0100 Subject: [PATCH] test for x86 adjusted to skip if executable not present --- tests/test_ops_x86.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/test_ops_x86.py b/tests/test_ops_x86.py index 715e1f9..c7825d3 100644 --- a/tests/test_ops_x86.py +++ b/tests/test_ops_x86.py @@ -209,7 +209,12 @@ def test_vector_compile(): warnings.warn(f"Test skipped, {platform.machine()} not supported for this test.", UserWarning) else: command = ['build/runner/coparun-x86', 'build/runner/test-x86.copapy', 'build/runner/test-x86.copapy.bin'] - result = run_command(command) + try: + result = run_command(command) + except FileNotFoundError: + warnings.warn("Test skipped, executable not found.", UserWarning) + return + print('* Output from runner:\n--') print(result) print('--')