Skip to content

Commit 55f2344

Browse files
committed
tests: Add a regression test for gtk-doc arguments
gobject_typesfile html_assets #9807
1 parent 5de1a3f commit 55f2344

File tree

5 files changed

+14
-0
lines changed

5 files changed

+14
-0
lines changed

test cases/frameworks/10 gtk-doc/doc/foobar1/baz.jpg

Loading

test cases/frameworks/10 gtk-doc/doc/foobar1/baz.png.in

Whitespace-only changes.

test cases/frameworks/10 gtk-doc/doc/foobar1/meson.build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
png = configure_file(input: 'baz.png.in',
2+
output: 'baz.png',
3+
copy: true)
4+
15
gnome.gtkdoc('foobar',
26
src_dir : [inc, '.'],
37
main_sgml : 'foobar-docs.sgml',
48
content_files : [docbook, version_xml],
59
dependencies: foo_dep,
10+
html_assets: ['baz.jpg', png],
611
# Manually written types file for regression test:
712
# https://github.com/mesonbuild/meson/issues/8744
813
gobject_typesfile: 'foobar.types',
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
types = configure_file(input: '../foobar1/foobar.types',
2+
output: 'foobar.types',
3+
copy: true
4+
)
5+
16
gnome.gtkdoc('foobar2',
27
src_dir : inc,
38
main_sgml : 'foobar-docs.sgml',
49
content_files : [docbook, version_xml],
10+
gobject_typesfile: types,
11+
dependencies: foo_dep,
512
install : true,
613
install_dir : 'foobar2')

test cases/frameworks/10 gtk-doc/test.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"installed": [
33
{"type": "file", "file": "usr/include/foo-version.h"},
44
{"type": "file", "file": "usr/share/gtk-doc/html/foobar/BAR.html"},
5+
{"type": "file", "file": "usr/share/gtk-doc/html/foobar/baz.jpg"},
6+
{"type": "file", "file": "usr/share/gtk-doc/html/foobar/baz.png"},
57
{"type": "file", "file": "usr/share/gtk-doc/html/foobar/foobar.devhelp2"},
68
{"type": "file", "file": "usr/share/gtk-doc/html/foobar/foobar.html"},
79
{"type": "file", "file": "usr/share/gtk-doc/html/foobar/FooObj.html"},

0 commit comments

Comments
 (0)