From 1bda894d4cf26c18c21a881cc3f4b83740d995cf Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Wed, 12 Feb 2025 18:40:46 +0100 Subject: [PATCH] test: Fix calling pytest from meson I did an oopsie while rebasing the branch containing 005da4c3 and partially undid fedbd63c ("build: Change the pytest invocation to run a specific file"). Fixes: 005da4c3 ("build: Use a single `tests` option to control if we build any tests") --- tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index f03f1c6e4..7449f5b67 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -138,7 +138,7 @@ foreach pytest_file : pytest_files test( 'integration/@0@'.format(testname), pytest, - args: [meson.current_source_dir()] + pytest_args + ['-k', testname], + args: [meson.current_source_dir() / pytest_file] + pytest_args, env: pytest_env, suite: ['integration'], timeout: 120,