summaryrefslogtreecommitdiffstats
path: root/test cases/frameworks/23 hotdoc/meson.build
blob: 64cd6daab86c0f7dd659670049bc49e2a6259ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
project('hotdoc', 'c')

hotdoc = find_program('hotdoc', required: false)
if not hotdoc.found()
  error('MESON_SKIP_TEST hotdoc not found.')
endif

subdir('doc')

assert(hotdoc.has_extensions(['gi-extension']) == true,
  'GI extension should always be found.')

assert(hotdoc.has_extensions(['gi-extension', 'no-way-you-exist-extension']) == false,
  'A hotdoc extension called "no-way-you-exist-extension" should never be found.')