From 5a6bb0fb50955c810b27c5bdf116ca73ecdff3aa Mon Sep 17 00:00:00 2001 From: "Commentator2.0" Date: Sat, 31 May 2025 13:38:27 +0200 Subject: [PATCH] tests/functional2: add runner to justfile Due to how meson works with the current justfile options, it is not possible to pass additional arguments into the functional2 test suit/pytest. Due to that, it isn't possilbe to narrow down what tests to execute or add output options or similar. This commit adds an additional recipe, calling pytest directly ensuring arguments are handed through Change-Id: I3748d1cd5fddc16b11fff11c0f1a77195e37c837 --- justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/justfile b/justfile index f0b4f68f9..ce81b660b 100644 --- a/justfile +++ b/justfile @@ -41,6 +41,10 @@ test-unit *OPTIONS: (test "--suite" "check") # Run integration tests only test-integration *OPTIONS: install (test "--suite" "installcheck") +# Run functional2 tests using pytest directly, allowing for additional arguments to be passed to pytest e.g. for more granular test selection +test-functional2 *OPTIONS: + cd tests && python -m pytest -v {{ OPTIONS }} functional2 + alias clang-tidy := lint # Lint with `clang-tidy`