diff options
author | Pablo Correa Gómez <ablocorrea@hotmail.com> | 2021-12-05 19:06:06 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-01-02 00:34:49 -0500 |
commit | 270843ed34779a8080c728cdda633793b882511a (patch) | |
tree | 2c59640426e79a5465bbeb8c977bde274b538660 /test cases/frameworks | |
parent | cf3a23dcce8a1bc2e5b6248e531791b2c1ebea73 (diff) | |
download | meson-270843ed34779a8080c728cdda633793b882511a.zip meson-270843ed34779a8080c728cdda633793b882511a.tar.gz meson-270843ed34779a8080c728cdda633793b882511a.tar.bz2 |
test cases/frameworks/13 yelp: Do not reuse sources files
Additionally reorder test.json for better readability
Diffstat (limited to 'test cases/frameworks')
-rw-r--r-- | test cases/frameworks/13 yelp/help/C/index2.page | 8 | ||||
-rw-r--r-- | test cases/frameworks/13 yelp/help/C/index3.page | 8 | ||||
-rw-r--r-- | test cases/frameworks/13 yelp/help/meson.build | 4 | ||||
-rw-r--r-- | test cases/frameworks/13 yelp/test.json | 12 |
4 files changed, 24 insertions, 8 deletions
diff --git a/test cases/frameworks/13 yelp/help/C/index2.page b/test cases/frameworks/13 yelp/help/C/index2.page new file mode 100644 index 0000000..14b6b51 --- /dev/null +++ b/test cases/frameworks/13 yelp/help/C/index2.page @@ -0,0 +1,8 @@ +<page xmlns="http://projectmallard.org/1.0/" + xmlns:its="http://www.w3.org/2005/11/its" + type="guide" + id="index2"> + <title> + Hello! + </title> +</page> diff --git a/test cases/frameworks/13 yelp/help/C/index3.page b/test cases/frameworks/13 yelp/help/C/index3.page new file mode 100644 index 0000000..c0c21c1 --- /dev/null +++ b/test cases/frameworks/13 yelp/help/C/index3.page @@ -0,0 +1,8 @@ +<page xmlns="http://projectmallard.org/1.0/" + xmlns:its="http://www.w3.org/2005/11/its" + type="guide" + id="index3"> + <title> + Hello! + </title> +</page> diff --git a/test cases/frameworks/13 yelp/help/meson.build b/test cases/frameworks/13 yelp/help/meson.build index c8edd61..d6dbe10 100644 --- a/test cases/frameworks/13 yelp/help/meson.build +++ b/test cases/frameworks/13 yelp/help/meson.build @@ -8,14 +8,14 @@ gnome.yelp('meson', ) gnome.yelp('meson-symlink', - sources: 'index.page', + sources: 'index2.page', media: 'media/test.txt', symlink_media: true, languages: ['de', 'es'], ) gnome.yelp('meson-linguas', - sources: 'index.page', + sources: 'index3.page', media: 'media/test.txt', symlink_media: false, ) diff --git a/test cases/frameworks/13 yelp/test.json b/test cases/frameworks/13 yelp/test.json index ffe75cb..22e34d2 100644 --- a/test cases/frameworks/13 yelp/test.json +++ b/test cases/frameworks/13 yelp/test.json @@ -6,17 +6,17 @@ {"type": "file", "file": "usr/share/help/es/meson/media/test.txt"}, {"type": "file", "file": "usr/share/help/de/meson/index.page"}, {"type": "file", "file": "usr/share/help/de/meson/media/test.txt"}, - {"type": "file", "file": "usr/share/help/C/meson-symlink/index.page"}, + {"type": "file", "file": "usr/share/help/C/meson-symlink/index2.page"}, {"type": "file", "file": "usr/share/help/C/meson-symlink/media/test.txt"}, + {"type": "file", "file": "usr/share/help/es/meson-symlink/index2.page"}, {"type": "file", "file": "usr/share/help/es/meson-symlink/media/test.txt"}, - {"type": "file", "file": "usr/share/help/es/meson-symlink/index.page"}, - {"type": "file", "file": "usr/share/help/de/meson-symlink/index.page"}, + {"type": "file", "file": "usr/share/help/de/meson-symlink/index2.page"}, {"type": "file", "file": "usr/share/help/de/meson-symlink/media/test.txt"}, - {"type": "file", "file": "usr/share/help/C/meson-linguas/index.page"}, + {"type": "file", "file": "usr/share/help/C/meson-linguas/index3.page"}, {"type": "file", "file": "usr/share/help/C/meson-linguas/media/test.txt"}, + {"type": "file", "file": "usr/share/help/es/meson-linguas/index3.page"}, {"type": "file", "file": "usr/share/help/es/meson-linguas/media/test.txt"}, - {"type": "file", "file": "usr/share/help/es/meson-linguas/index.page"}, - {"type": "file", "file": "usr/share/help/de/meson-linguas/index.page"}, + {"type": "file", "file": "usr/share/help/de/meson-linguas/index3.page"}, {"type": "file", "file": "usr/share/help/de/meson-linguas/media/test.txt"} ], "skip_on_jobname": ["azure", "cygwin", "macos", "msys2"] |