diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-11-13 16:05:00 -0500 |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2020-02-05 13:23:55 -0500 |
commit | 554d35c3f3eb8710d1a265dccd173cbf653258bf (patch) | |
tree | 3fcedb2bf48c32aecb2360e3b1e1980839199f79 /test cases/common/192 args flattening | |
parent | 6c963726cf7b9781fed55fd4ba41f81bca2d4dbb (diff) | |
download | meson-554d35c3f3eb8710d1a265dccd173cbf653258bf.zip meson-554d35c3f3eb8710d1a265dccd173cbf653258bf.tar.gz meson-554d35c3f3eb8710d1a265dccd173cbf653258bf.tar.bz2 |
add get_external_property to replace get_cross_property
Diffstat (limited to 'test cases/common/192 args flattening')
-rw-r--r-- | test cases/common/192 args flattening/meson.build | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test cases/common/192 args flattening/meson.build b/test cases/common/192 args flattening/meson.build index 42eb6d5..1dac2f9 100644 --- a/test cases/common/192 args flattening/meson.build +++ b/test cases/common/192 args flattening/meson.build @@ -16,8 +16,14 @@ assert(arr == ['bar', 'baz'], 'configuration_data.get with array fallback is bro arr = meson.get_cross_property('does-not-exist', ['bar', 'baz']) assert(arr == ['bar', 'baz'], 'meson.get_cross_property with array fallback is broken') -arr = meson.get_native_property('does-not-exist', ['bar', 'baz']) -assert(arr == ['bar', 'baz'], 'meson.get_native_property with array fallback is broken') +arr = meson.get_external_property('does-not-exist', ['bar', 'baz']) +assert(arr == ['bar', 'baz'], 'meson.get_external_property with array fallback is broken') + +arr = meson.get_external_property('does-not-exist', ['bar', 'baz'], native: true) +assert(arr == ['bar', 'baz'], 'meson.get_external_property native:true with array fallback is broken') + +arr = meson.get_external_property('does-not-exist', ['bar', 'baz'], native: false) +assert(arr == ['bar', 'baz'], 'meson.get_external_property native:false with array fallback is broken') # Test deprecated behaviour |