Skip to content

Commit

Permalink
test: Fix calling pytest from meson
Browse files Browse the repository at this point in the history
I did an oopsie while rebasing the branch containing 005da4c and
partially undid fedbd63 ("build: Change the pytest invocation to run a
specific file").

Fixes: 005da4c ("build: Use a single `tests` option to control if we build any tests")
  • Loading branch information
swick authored and GeorgesStavracas committed Feb 12, 2025
1 parent da7b73b commit 0cd7bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0cd7bd5

Please sign in to comment.