Bug fix: gtk-builder-tool operates on a single file
authorColin Clark <colin.clark@cclark.uk>
Tue, 27 Jun 2023 14:42:27 +0000 (15:42 +0100)
committerColin Clark <colin.clark@cclark.uk>
Tue, 27 Jun 2023 14:42:27 +0000 (15:42 +0100)
meson.build

index 444305b..920f322 100644 (file)
@@ -668,7 +668,9 @@ endif
 
 gtk_builder_tool = find_program('gtk-builder-tool', required : false)
 if gtk_builder_tool.found()
-    test('UI Build', gtk_builder_tool, args: ['validate', ui_sources], timeout: 100)
+    foreach ui_file : ui_sources
+        test('UI Build', gtk_builder_tool, args: ['validate', ui_file], timeout: 100)
+    endforeach
     summary({'gtk-builder-tool' : ['Test runs:', true]}, section : 'Testing', bool_yn : true)
 else
     summary({'gtk-builder-tool' : ['Test runs:', false]}, section : 'Testing', bool_yn : true)