From: Kaartic Sivaraam Date: Thu, 22 Oct 2026 11:01:57 GMT Subject: [PATCH 1/2] unit-tests: reshuffle NOOP arguments to maintain order Message-ID: <20261022-ks-unit-tests-ignore-long-tests-v1-1-554a590d418b@gmail.com> In-Reply-To: <20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com> Ever since 9faf3963b6 (t: introduce compatibility options to clar-based tests, 2024-12-13), our clar tests have a few NOOP arguments in order to accept the same arguments that our integration tests accept. This makes it easy to pass in test arguments when both unit and integration tests are run together such as via: $ meson test -v --test-args='-ix' On a quick scan, the order of the NOOP arguments seem to be alphabetical. That is only until you notice that 'with-dashes' appears out of order. Fix this by moving it into its appropriate place thus ensuring they are in alphabetical order. This makes it easy for future patches to not worry about where to place a NOOP argument that is not yet in the list. Signed-off-by: Kaartic Sivaraam --- t/unit-tests/unit-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/unit-tests/unit-test.c b/t/unit-tests/unit-test.c index 752fb38fb3..d066c8a4c8 100644 --- a/t/unit-tests/unit-test.c +++ b/t/unit-tests/unit-test.c @@ -33,12 +33,12 @@ int cmd_main(int argc, const char **argv) OPT_NOOP_ARG(0, "root"), OPT_NOOP_ARG(0, "stress"), OPT_NOOP_NOARG(0, "tee"), - OPT_NOOP_NOARG(0, "with-dashes"), OPT_NOOP_ARG(0, "valgrind"), OPT_NOOP_ARG(0, "valgrind-only"), OPT_NOOP_NOARG('v', "verbose"), OPT_NOOP_NOARG('V', "verbose-log"), OPT_NOOP_ARG(0, "verbose-only"), + OPT_NOOP_NOARG(0, "with-dashes"), OPT_NOOP_NOARG('x', NULL), OPT_END(), }; -- 2.56.0.99.g5a7d1e8045.dirty