aboutsummaryrefslogtreecommitdiff
path: root/manual tests
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-07-02 00:00:03 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-07-02 00:00:03 +0300
commitc0057da133d212dd4e0efeab84e2a34f814c5c83 (patch)
tree732ea096e57a6e1e5d44da7c649189902bdc9149 /manual tests
parentcc775d64c9ca73e9a02710a84ac9f0a5fc01c593 (diff)
downloadmeson-c0057da133d212dd4e0efeab84e2a34f814c5c83.zip
meson-c0057da133d212dd4e0efeab84e2a34f814c5c83.tar.gz
meson-c0057da133d212dd4e0efeab84e2a34f814c5c83.tar.bz2
Can get arbitrary data from cross file properties.
Diffstat (limited to 'manual tests')
-rw-r--r--manual tests/9 nostdlib/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/manual tests/9 nostdlib/meson.build b/manual tests/9 nostdlib/meson.build
index 3ef743e..9c5f949 100644
--- a/manual tests/9 nostdlib/meson.build
+++ b/manual tests/9 nostdlib/meson.build
@@ -1,5 +1,9 @@
project('own libc', 'c')
+# Not related to this test, but could not find a better place for this test.
+assert(meson.get_cross_property('nonexisting', 'defaultvalue') == 'defaultvalue',
+ 'Cross prop getting is broken.')
+
# A simple project that uses its own libc.
# Note that we don't need to specify anything, the flags to use