Document a probable cause for test failures.

pull/13080/head
Jussi Pakkanen 8 months ago
parent e25b61b5c2
commit bf00ca69b5
  1. 2
      test cases/frameworks/4 qt/meson.build

@ -48,7 +48,7 @@ foreach qt : ['qt4', 'qt5', 'qt6']
qtdep = dependency(qt, modules : qt_modules, main : true, private_headers: true, required : required, method : get_option('method')) qtdep = dependency(qt, modules : qt_modules, main : true, private_headers: true, required : required, method : get_option('method'))
if qtdep.found() if qtdep.found()
qtmodule = import(qt) qtmodule = import(qt)
assert(qtmodule.has_tools()) assert(qtmodule.has_tools(), 'You may be missing a devel package. (qttools5-dev-tools on Debian based systems)')
# Test that fetching a variable works and yields a non-empty value # Test that fetching a variable works and yields a non-empty value
assert(qtdep.get_variable('prefix', configtool: 'QT_INSTALL_PREFIX') != '') assert(qtdep.get_variable('prefix', configtool: 'QT_INSTALL_PREFIX') != '')

Loading…
Cancel
Save