Debian Codegraph @

test cases/frameworks/41 qt module no dep/meson.build

raw
1 project('qt5 module method test', 'cpp', meson_version: '>=1.4.0')
2
3 qtmodule = import('qt5')
4
5 # because methods like .compile_ui() request the Qt dependency
6 # with required: true, it is not possible to skip the test when
7 # Qt is absent.
8 #
9 # always ending the test with an error checks at least that there
10 # were no internal errors. The actual functionality of the
11 # methods is checked in the "4 qt" test.
12 testcase expect_error('.*not found.*', how: 're')
13 prep = qtmodule.compile_ui(
14 sources : 'ui/mainWindow.ui',
15 method: get_option('method'),
16 preserve_paths: true)
17 error('dummy not found error')
18 endtestcase