summaryrefslogtreecommitdiff
path: root/test cases/frameworks/10 gtk-doc
AgeCommit message (Collapse)Author
2024-03-17tests: rename skip_on_jobname to expect_skip_on_jobname and skip_on_os to ↵Christoph Reiter
expect_skip_on_os The test.json format currently has three keys related to skipping tests: * `skip_on_jobname` * `skip_on_os` * `skip_on_env` While `skip_on_env` marks the test itself as skipped, i.e. they don't get run when the conditions are met, the other two skip options are just marking the test as "expected to be skipped" if the conditions apply, i.e. they want to see `MESON_SKIP_TEST` in the output and things will fail if that doesn't happen. They don't actually skip the tests as the names imply. To make this clearer rename the keys: * `skip_on_jobname` -> `expect_skip_on_jobname` * `skip_on_os` -> `expect_skip_on_os` `skip_on_env` stays the same, since that actually skips. The docs were also confused about this, so adjust that too.
2022-03-29gnome: Fix gtkdoc when using multiple Apple frameworksJan Tojnar
The `-framework Foundation -framework CoreFoundation` ended up de-duplicated by OrderedSet into `-framework Foundation CoreFoundation`.
2022-01-15tests: Add a partial test for gtk_doc check: kwargNirbheek Chauhan
check: true is needed for an actual regression test, but that requires a pedantically correct gtk-doc configuration, which I attempted to do and failed. So let's just put check: false so we get *some* coverage: just that typed_kwargs accepts the argument. Related to https://github.com/mesonbuild/meson/pull/9807
2022-01-15tests: Add a regression test for gtk-doc argumentsNirbheek Chauhan
gobject_typesfile html_assets https://github.com/mesonbuild/meson/pull/9807
2021-10-30Added warning if run_command is called without the check kwargVolker Weißmann
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2021-07-13Add expected skip annotations for non-linux CI runs to framework testsJon Turney
2021-06-22tests: both_library test improvementsDaniel Mensinger
This switches some `shared_library()` calls to `library()` and adds one new CI matrix entries for -Ddefault_library={static, both}.
2021-05-12gnome: Fix gtkdoc generationXavier Claessens
install_scripts used to replace @BUILD_ROOT@ and @SOURCE_ROOT@ but it was not documented and got removed in Meson 0.58.0. gnome.gtkdoc() was relying on that behaviour, but it has always been broken in the case the source or build directory contains spaces. Fix this by changing get_include_args() to substitue paths directly which will then get escaped correctly. Add a unit test that builds GObject documentation which is where this issue has been spotted. Fixes: #8744
2020-02-25test: merge installed_files.txt into test.jsonDaniel Mensinger
2019-07-16gtkdoc: Add 'check' kwarg (#5591)Xavier Claessens
* gtkdoc: Add 'check' kwarg This runs gtkdoc-check in meson tests. Also reorganize the gtkdoc test because we cannot reliably build multiple doc into the same directory. Not all files generated by gtk-doc are prefixed with the target name.
2018-09-21gnome: add support for `module_version`Marco Trevisan (Treviño)
gtk-doc for autotools has the concept of module version, that is used to define the module install path and the devhelp2 basename. Add a `module_version` parameter to gnome.gtkdoc to replicate the same behavior. Updated the test checking that the install_dir is properly computed (if not passed), and that the .devhelp2 file has proper name. https://gitlab.gnome.org/GNOME/gtk-doc/blob/GTK_DOC_1_29/buildsystems/autotools/gtk-doc.make#L269
2018-07-06gnome.gtkdoc: Don't treat install_dir as a file optionNirbheek Chauhan
Causes the value to be expanded to current source directory. Fixes https://github.com/mesonbuild/meson/issues/3829
2018-05-09gdbus_codegen: Guess the output list for docbook generationNirbheek Chauhan
We were setting it to a file list that would always be wrong, and always out of date since it would never exist. However, the output list is not predictable. It usually has a 1-1 relationship with the input XML files, but it may not. This must be fixed later with API for users to provide the output names. See: https://github.com/mesonbuild/meson/pull/3539
2018-05-06gnome.gtkdoc: Allow passing file objects as xml_filesNirbheek Chauhan
If we pass a source files() object, we will look for it in the build directory, which is wrong. If we pass a build files() object (from configure_file()), we will find it in the build directory, and then try to copy it on top of itself in gtkdochelper.py getting a SameFileError. Add a test for it, and also properly iterate custom target outputs when adding to content files.
2018-03-04Make gtkdoc test pass on Debian unstable.Jussi Pakkanen
2018-02-27Enable 'test cases/frameworks/10 gtk-doc' for gtkdoc >= 1.26Jon Turney
Enable 'test cases/frameworks/10 gtk-doc' if gtkdoc version is 1.26 or later. Old versions of gtkdoc-scan also output the version to stdout rather than stderr, so be sure to handle that...
2018-02-21Skip test cases/frameworks/10 gtk-doc if gtkdoc not foundJon Turney
2017-12-22gnome.gtkdoc: Extend GtkDoc testIñigo Martínez
The GtkDoc test has been extended to also test the inclusion of generated files. To test this, a new python script has been included which generates a new docbook file which is included as content file.
2017-08-29gnome: Fix typo in gtkdoc_html_dir, so it returns the correct pathMatthias Klumpp
2017-06-19Add example of generated header in docs.Elliott Sales de Andrade
2016-11-09Allow tests to mark themselves as skipped during runtime.Jussi Pakkanen
2016-05-25Helper function to get the install dir of a gtkdoc module. Closes #551.Jussi Pakkanen
2015-11-13Fix gtkdoc. We had to disable the test but on the other hand we have ↵Jussi Pakkanen
gstreamer docs working.
2015-08-19Can specify gtk-doc search dirs with include_directories. Closes #231.Jussi Pakkanen
2015-08-02Add sgml main to gtk-doc.Jussi Pakkanen
2015-08-02Allow more than one install script and make gtkdoc method return one.Jussi Pakkanen
2015-08-02Can generate gtkdoc documentation.Jussi Pakkanen