From 3f1e2817ed01660d0b422a0283effc0e5d3e4b80 Mon Sep 17 00:00:00 2001 From: Sbenazar Date: Tue, 4 Aug 2026 15:29:26 +0300 Subject: [PATCH] tests/build: Iterate drivers_tests as a dict when skipping driver tests bf91b0ed ("tests/build: Allow to define per-test parameters via a dict") turned drivers_tests into a dict and updated the loop that defines the real tests, but the fallback that only adds the skipping ones still asks for a single iteration variable. Configuring with -Dintrospection=false stops right there: tests/meson.build:295:25: ERROR: Foreach expects exactly 2 variables for iterating over objects of type dict Hit it with meson 1.11 while building a single driver without introspection. --- tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index bf87956a..d218e04d 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -293,7 +293,7 @@ else args: ['-c', 'exit 77'] ) - foreach driver_test: drivers_tests + foreach driver_test, _args : drivers_tests test(driver_test, sh, args: ['-c', 'exit 77']