summaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2023-08-31 14:13:50 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2023-09-08 13:08:05 +0530
commit6cfd2b4d5bd30b372268c25308b1cb00afd0996d (patch)
tree0832257429d96a591668b0e737b2647c1ed6a227 /test cases/frameworks
parent204fe3c5772f3f6ec9583fb9216412a4eb6018b9 (diff)
downloadmeson-6cfd2b4d5bd30b372268c25308b1cb00afd0996d.tar.gz
Override config-tool get_variable args for qmake
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/4 qt/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build
index 04a5288bf..f8ba1751f 100644
--- a/test cases/frameworks/4 qt/meson.build
+++ b/test cases/frameworks/4 qt/meson.build
@@ -50,6 +50,9 @@ foreach qt : ['qt4', 'qt5', 'qt6']
qtmodule = import(qt)
assert(qtmodule.has_tools())
+ # Test that fetching a variable works and yields a non-empty value
+ assert(qtdep.get_variable('prefix', configtool: 'QT_INSTALL_PREFIX') != '')
+
# The following has two resource files because having two in one target
# requires you to do it properly or you get linker symbol clashes.