test cases/frameworks/23 hotdoc/meson.build
raw| 1 | project('hotdoc', 'c') |
| 2 | |
| 3 | hotdoc = find_program('hotdoc', required: false) |
| 4 | if not hotdoc.found() |
| 5 | error('MESON_SKIP_TEST hotdoc not found.') |
| 6 | endif |
| 7 | |
| 8 | subdir('doc') |
| 9 | |
| 10 | assert(hotdoc.has_extensions(['gi-extension']) == true, |
| 11 | 'GI extension should always be found.') |
| 12 | |
| 13 | assert(hotdoc.has_extensions(['gi-extension', 'no-way-you-exist-extension']) == false, |
| 14 | 'A hotdoc extension called "no-way-you-exist-extension" should never be found.') |