configuration_data: add test case for regression when merging a confdata

Regression test for #13372
pull/13386/head
Eli Schwartz 8 months ago
parent f2112d0baa
commit 140c557c87
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 6
      test cases/common/14 configure file/meson.build

@ -310,10 +310,16 @@ cdata = configuration_data({
'A_UNDEFINED' : false,
})
# merging a confdata into another one should not mark the first as immutable
cdata_test = configuration_data()
cdata_test.merge_from(cdata)
cdata.set_quoted('A_PATH', '/random/path')
configure_file(output : 'config9a.h',
configuration : cdata,
)
configure_file(output : 'config9b.h',
configuration : {
'B_STRING' : '"foo"',

Loading…
Cancel
Save