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
This commit is contained in:
Commentator2.0
2025-06-01 20:19:37 +02:00
parent 4505bfac8e
commit 5a6bb0fb50
+4
View File
@@ -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`