From 6e9ca366b6e4976ae591012150fe77729e37c503 Mon Sep 17 00:00:00 2001
From: Tristan Partin <tristan@neon.tech>
Date: Tue, 16 Jan 2024 19:00:44 -0600
Subject: [PATCH v1 1/2] Allow tests to register command line arguments in
 Meson

---
 meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index c317144b6b..12ba91109b 100644
--- a/meson.build
+++ b/meson.build
@@ -3284,6 +3284,8 @@ foreach test_dir : tests
         'env': env,
       } + t.get('test_kwargs', {})
 
+      test_args = t.get('args', [])
+
       foreach onetap : t['tests']
         # Make tap test names prettier, remove t/ and .pl
         onetap_p = onetap
@@ -3302,7 +3304,7 @@ foreach test_dir : tests
             '--testname', onetap_p,
             '--', test_command,
             test_dir['sd'] / onetap,
-          ],
+          ] + test_args,
         )
       endforeach
       install_suites += test_group
-- 
Tristan Partin
Neon (https://neon.tech)

