summaryrefslogtreecommitdiff
path: root/test cases/frameworks
AgeCommit message (Collapse)Author
2018-10-24module-qt: add rcc_extra_arguments to pass extra arguments to rcc (#4406)xiannox
2018-10-14Set env vars so MS-MPI tests are runJon Turney
Import MS-MPI env vars set by installer in registry to environment Skip testing we can apply a version constraint to MPI when version isn't known (as is the case for MS-MPI) (These tests have never worked in appveyor)
2018-10-14Use 'CI' environment variable to detect CI environmentJon Turney
Use the 'CI' environment variable to detect CI environment, rather than a collection of CI-specific ones.
2018-10-10gnome.compile_resources: Put dependency directories before current source dirTingPing
This avoids the problem of generated files with the same name as something in source existing and using the wrong file.
2018-10-06Fix a comment in "test cases/frameworks/6 gettext"Masanori Kakura
File "data/data3/meson.build" makes Meson create a target that contains a path separator.
2018-10-06i18n: replace path separator with @Marty E. Plummer
using state.subdir will cause / or \ to be inserted into the target name. Replace them with @ to future-proof it. Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
2018-10-05Fix handling generated .desktop files. Closes #4304.Jussi Pakkanen
2018-10-03Add custom libgcrypt dependency using libgcrypt-configPatrick Griffis
Fixes #3563
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-09-19Add some more implibs to list of installed files on cygwinJon Turney
Omitted from 0fc9a601 as these tests are skipped in CI
2018-09-16i18n: allow custom target names for merge_fileMarty E. Plummer
As it currently stands, if for whatever reason you have two files you want to merge with the same output name, it will fail due to multiple targets with the same name due to the target name being autogenerated from the output kwarg. Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
2018-09-14run_proect_tests: add cygwin as platform fix nameMarco Trevisan (Treviño)
2018-09-14test cases: add missing files to installed_files.txtMarco Trevisan (Treviño)
All these are marked as files to be installed, so we need list them.
2018-09-10Skip some SDL tests when using an OSX framework version.Jussi Pakkanen
2018-09-10Qt: add main argument to Qt dependency object to link with qtmain library on ↵Alexey Rochev
Windows (#2327)
2018-09-03i18n: respect variable substitution for the target name when merging ↵Corentin Noël
translations Previously it wasn't possible to use twice @BASENAME@ as the targets would then be named @BASENAME@_merge
2018-09-03Qt: Allow passing dependency objects to preprocess method (#3470, #3875)Alexey Rochev
2018-08-29Merge pull request #4016 from thiblahute/hotdocJussi Pakkanen
modules: Add an 'hotdoc' module
2018-08-28modules: Add an 'hotdoc' moduleThibault Saunier
hotdoc: http://github.com/hotdoc/hotdoc/
2018-08-26Tests for version constraints on custom lookup dependenciesJon Turney
2018-08-15Kill tabs dead! For good!Jussi Pakkanen
2018-08-09gnome.generate_gir: support generating gir for multiple librariesMathieu Duponchelle
Fixes #3688
2018-07-11gnome.gdbus_codegen: Handle XML docbook in subdirsNirbheek Chauhan
Closes https://github.com/mesonbuild/meson/issues/3870
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-07-01gnome: Distinguish between internal and external linker flagsTing-Wei Lan
When an older version of the library being built is installed in the same prefix as external dependencies, we have to be careful to construct the linker or compiler command line. If a -L flag from external dependencoes comes before a -L flag pointing to builddir, it is possible for the linker to load older libraries from the installation prefix instead of the newly built ones, which is likely to cause undefined reference error. Since the order of dependencies is not significant, we cannot expect internal dependencies to appear before external dependencies when recursively iterating the list of dependencies. To make it harder to make mistakes, linker flags come from internal and external dependencies are now stored in different order sets. Code using _get_dependencies_flags are expected to follow the order when constructing linker command line: 1. Internal linker flags 2. LDFLAGS set by users 3. External linker flags It is similar to what automake and libtool do for autotools projects.
2018-06-19Add more tests to ensure no future regressionCorentin Noël
2018-05-27Merge pull request #3491 from jeandet/qt_private_headersJussi Pakkanen
Qt private headers
2018-05-23gnome.mkenums: test header built from generated templateMathieu Duponchelle
2018-05-23gnome/mkenums: allow passing generated files as templatesMathieu Duponchelle
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-05-05gnome: Use the header basename for #include in mkenums_simpleNirbheek Chauhan
Otherwise, when you use a File target, the value will be the full path to the header from the build root, which is not what anyone wants.
2018-05-04gnome: Disable usage of new --body and --header argsNirbheek Chauhan
The new --body and --header args are broken because they do not allow the use of --output-directory to set the correct `#include "foo.h"` line in `foo.c`. The changes in the gdbus test case show this. Disabled till this can be fixed in glib. Closes https://github.com/mesonbuild/meson/issues/3488
2018-05-02Update CI image to bionic.Jussi Pakkanen
2018-04-28Fixed private headers on OSX with framework stuffAlexis Jeandet
Removed Qt4 private headers test since it's hard to get Qt4 private headers installed on CI. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28qconfig_p.h isn't available on OSX :(Alexis Jeandet
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28[Qt module] Privates headers: Implemented private_headers optionAlexis Jeandet
This commit adds private_headers option in dependency method which tells QtDependency to add private headers include path to build flags. Since there is no easy way to do this with pkg-config only qmake method supports this, so with private_headers set qmake will always be used. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28[Qt module] Privates headers: Added failing test caseAlexis Jeandet
Meson doesn't provides yet a convenient way to include private Qt headers Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28Install generated gdbus header with old glib version too.Jussi Pakkanen
2018-04-20gnome: gdbus-codegen add a `sources:` kwargNirbheek Chauhan
It accepts multiple XML files, not just one. For example, glib uses it that way.
2018-04-17Add partial_dependency method to dependenciesDylan Baker
This adds a new method, partial_dependency to all dependencies. These sub dependencies are copies of the original dependency, but with one or more of the attributes replaced with an empty list. This allows creating a sub dependency that has only cflags or drops link_arguments, for example.
2018-04-11gdbus_codegen: Return 2 targets when docbook is disabledNirbheek Chauhan
Also document this behaviour, test it, and fix the return value from the module -- we create one target and return it thrice to the build file
2018-04-09Never install the glib-mkenums generated C source (#3374)Emmanuele Bassi
* Never install the glib-mkenums generated C source When using gnome.mkenums_simple() we end up installing the generated C source file alongside the C header file, if `install_header` is set to True. This is caused by mkenums_simple() acting as a wrapper for mkenums() without template files; mkenums() won't be able to know if we're generating the header or the source, and will use the presence of `install_header` as the deciding factor as to whether the generated file should be installed. When generating the C source file, we should always unset the `install_header` option to False, just like mkenums() expects. Closes #3373 * Verify that mkenums_simple() does not install C sources When asked to installed the generated C header file.
2018-04-04[Qt module] More qrc fixesAlexis Jeandet
When several qrc files are given all qrc files dependencies were mixed. Fixed non working use case: When user try to guess build dir layout and add use a relative path between a generated qrc file and a generated resource. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-03-30[Qt module] Added generated resource test case + some fixesAlexis Jeandet
Subdir is already in generated resource path. Some PEP8 fixes. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-03-26[Qt module] Add File object support for generated or not qrc filesAlexis Jeandet
Added missing sub-folder test Closes #3324 Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-03-10Fix C++ code used for doxygen testAlex Hirsch
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-22Merge pull request #3060 from jon-turney/always-run-framework-testsJussi Pakkanen
Always run all framework tests on all platforms