aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <heftig@archlinux.org>2022-09-04 00:16:08 +0000
committerEli Schwartz <eschwartz93@gmail.com>2022-09-04 00:07:34 -0400
commitd682d3f837f5d23037d1edcf5edb91077a9b52c8 (patch)
tree94bffa9275c3f7585b2b698af2a8707a0bbbd1c9 /test cases
parentf70895a4415d5120582785ad2a514d41d4d0701e (diff)
downloadmeson-d682d3f837f5d23037d1edcf5edb91077a9b52c8.zip
meson-d682d3f837f5d23037d1edcf5edb91077a9b52c8.tar.gz
meson-d682d3f837f5d23037d1edcf5edb91077a9b52c8.tar.bz2
Add missing cdata update in genmarshal tests
Otherwise the test is flaky, as it may try to include a header that's not generated yet.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/frameworks/7 gnome/genmarshal/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/frameworks/7 gnome/genmarshal/meson.build b/test cases/frameworks/7 gnome/genmarshal/meson.build
index 7686b4b..9a2cd7a 100644
--- a/test cases/frameworks/7 gnome/genmarshal/meson.build
+++ b/test cases/frameworks/7 gnome/genmarshal/meson.build
@@ -39,6 +39,9 @@ foreach mlist : mlists
marshaller_c = marshallers[0]
marshaller_h = marshallers[1]
+ cdata = configuration_data()
+ cdata.set_quoted('MARSHALLER_HEADER', 'marshaller-@0@.h'.format(idx))
+
main_c = configure_file(input: 'main.c.in',
output: 'main-@0@.c'.format(idx),
configuration: cdata)