From: Kaartic Sivaraam Date: Mon, 26 Oct 2026 07:31:05 GMT Subject: [PATCH v2 2/2] unit-tests: ignore --long-tests Message-ID: <20261026-ks-unit-tests-ignore-long-tests-v2-2-fdbbefbd19fb@gmail.com> In-Reply-To: <20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb@gmail.com> In the same spirit as 9faf3963b6 (t: introduce compatibility options to clar-based tests, 2024-12-13), we should ignore -l / --long-tests passed to our clar tests. It may be passed along while manually running tests via a command as follows: $ meson test -v --test-args='-ilx' So, ignore -l / --long-tests in our clar tests. This does not show up as a problem while running our CI as we enable the expensive prerequisite via the GIT_TEST_LONG env variable. Signed-off-by: Kaartic Sivaraam --- t/unit-tests/unit-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/t/unit-tests/unit-test.c b/t/unit-tests/unit-test.c index d066c8a4c8..06ffd0f5bb 100644 --- a/t/unit-tests/unit-test.c +++ b/t/unit-tests/unit-test.c @@ -28,6 +28,7 @@ int cmd_main(int argc, const char **argv) */ OPT_NOOP_NOARG('d', "debug"), OPT_NOOP_NOARG(0, "github-workflow-markup"), + OPT_NOOP_NOARG('l', "long-tests"), OPT_NOOP_NOARG(0, "no-bin-wrappers"), OPT_NOOP_ARG(0, "no-chain-lint"), OPT_NOOP_ARG(0, "root"), -- 2.56.0.99.g5a7d1e8045.dirty