aboutsummaryrefslogtreecommitdiff
path: root/test cases
AgeCommit message (Collapse)AuthorFilesLines
2018-10-03Add custom libgcrypt dependency using libgcrypt-configPatrick Griffis2-0/+31
Fixes #3563
2018-10-02Merge pull request #4296 from nacho4d/feature/fix-xcode-configure-fileJussi Pakkanen1-27/+16
Xcode does not include configured files in its header search path
2018-09-30Fix indentation (make it uniform) in test file "14 configure file/meson.build"Guillermo Ignacio Enriquez Gutierrez1-27/+16
2018-09-27Additional tests for D version and debug featuresGoaLitiuM2-1/+85
2018-09-25Merge pull request #4214 from 3v1n0/gtk-docs-improvementsJussi Pakkanen2-0/+43
Gtk docs improvements
2018-09-24Merge pull request #4243 from nacho4d/feature/xcode-fix2Jussi Pakkanen1-1/+6
fixings for xcode backend
2018-09-25Fix Xcode backend: support for precompiled headers. Only one header per ā†µGuillermo Ignacio Enriquez Gutierrez1-1/+6
target is supported
2018-09-21Skip dub dependency test with wrong compiler on WindowsGoaLitiuM1-0/+6
Appveyor currently only has one available D compiler so this test should be skipped for the time being. [skip ci]
2018-09-21gnome: add support for `module_version`Marco Trevisan (TreviƱo)2-0/+43
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 Turney2-0/+6
Omitted from 0fc9a601 as these tests are skipped in CI
2018-09-17Merge pull request #4174 from jon-turney/link-with-custom-targetJussi Pakkanen4-0/+55
Improve error when trying to link_with a custom_target
2018-09-17Fix regressed D test cases on WindowsGoaLitiuM2-10/+10
2018-09-16Add test case for trying to link with a library made by a custom_targetJon Turney4-0/+55
2018-09-16Fix ICC on macOSDavid Seifert3-4/+10
2018-09-16i18n: allow custom target names for merge_fileMarty E. Plummer3-0/+15
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-16find_installation: Add support for feature option in required kwargXavier Claessens2-0/+4
Closes: #4165.
2018-09-16Merge pull request #4170 from 3v1n0/test-projects-extra-file-reports-fixJussi Pakkanen25-7/+345
run_projects_tests: Fail if we install extra files even if not in cl
2018-09-14run_proect_tests: add cygwin as platform fix nameMarco Trevisan (TreviƱo)4-7/+7
2018-09-14run_project_tests: remove pdb workaround, just use filtersMarco Trevisan (TreviƱo)3-3/+4
And ignore .dll.a files in non cygwin gcc instances
2018-09-14test cases: add missing files to installed_files.txtMarco Trevisan (TreviƱo)23-4/+341
All these are marked as files to be installed, so we need list them.
2018-09-13Merge pull request #4017 from jon-turney/version-comparison-rewriteJussi Pakkanen2-0/+4
Use rpmvercmp version comparison
2018-09-13Fix flake8 'imported but unused' reportsJon Turney1-1/+1
$ flake8 | grep F401 ./mesonbuild/compilers/d.py:19:1: F401 '.compilers.GCC_CYGWIN' imported but unused ./test cases/unit/35 dist script/replacer.py:3:1: F401 'sys' imported but unused
2018-09-12Correct version_compare_condition_with_min()Jon Turney2-0/+4
Correct version_compare_condition_with_min() for the case where no minimum version is established by the version constraint. Add a simple test. Also fix test_feature_check_usage_subprojects by escaping regex metacharacters. if |condition| is '<', '<=' or '!=', the minimum version satisfying the condition is 0, so the minimum version for a feature is never met. if |condition| is '>=' or '==', the minimum version satisfying the condition is the version compared with, so the minimum version for a feature must be less than or equal to that. if |condition| is '>', the minimum version satisfying the condition is greater than the version compared with, so the minimum version for a feature must be less than that (it's this last condition that makes this function necessary, as in all other cases we could establish a definite minimum version which we could compare to see if it's less than or equal to the current version)
2018-09-10Skip some SDL tests when using an OSX framework version.Jussi Pakkanen1-0/+6
2018-09-10Qt: add main argument to Qt dependency object to link with qtmain library on ā†µAlexey Rochev1-2/+3
Windows (#2327)
2018-09-07Add method to check for C/C++ function attributesDylan Baker1-0/+103
It's fairly common on Linux and *BSD platforms to check for these attributes existence, so it makes sense to me to have this checking build into meson itself. Autotools also has a builtin for handling these, and by building them in we can short circuit cases that we know that these don't exist (MSVC). Additionally this adds support for two common MSVC __declspec attributes, dllimport and dllexport. This implements the declspec version (even though GCC has an __attribute__ version that both it and clang support), since GCC and Clang support the MSVC version as well. Thus it seems reasonable to assume that most projects will use the __declspec version over teh __attribute__ version.
2018-09-06Condense test dirs.Jussi Pakkanen64-0/+0
2018-09-04Test + fix for not-found dependency fallback version comparisonNirbheek Chauhan2-1/+8
Fixes: meson.build:6:0: ERROR: Uncomparable version string 'unknown'. This was previously partially fixed in a8694f4b, which only fixed it for cached fallback dependencies.
2018-09-03i18n: respect variable substitution for the target name when merging ā†µCorentin NoĆ«l3-1/+29
translations Previously it wasn't possible to use twice @BASENAME@ as the targets would then be named @BASENAME@_merge
2018-09-03Allow override_find_program to use an executable.Rafael Ɓvila de Espƭndola6-0/+39
With this it is now possible to do foobar = executable('foobar', ...) meson.override_find_program('foobar', foobar) Which is convenient for a project like protobuf which produces both a dependency and a tool. If protobuf is updated to use override_find_program, it can be used as protobuf_dep = dependency('protobuf', version : '>=3.3.1', fallback : ['protobuf', 'protobuf_dep']) protoc_prog = find_program('protoc')
2018-09-03Qt: Allow passing dependency objects to preprocess method (#3470, #3875)Alexey Rochev2-0/+18
2018-09-03Merge pull request #4084 from FFY00/pr-fix-dub-dependenciesJussi Pakkanen3-0/+9
dub: enhance dependency handling
2018-09-02tests: add dub (failing/85)FFY003-0/+9
2018-08-29Improve support for macOS dylib versioningNirbheek Chauhan2-2/+17
We now use the soversion to set compatibility_version and current_version by default. This is the only sane thing we can do by default because of the restrictions on the values that can be used for compatibility and current version. Users can override this value with the `darwin_versions:` kwarg, which can be a single value or a two-element list of values. The first one is the compatibility version and the second is the current version. Fixes https://github.com/mesonbuild/meson/issues/3555 Fixes https://github.com/mesonbuild/meson/issues/1451
2018-08-29Merge pull request #4016 from thiblahute/hotdocJussi Pakkanen4-0/+32
modules: Add an 'hotdoc' module
2018-08-28Deduplicate build-tree RPATHs on macOSDavid Seifert1-0/+6
* Currently, RPATHs coming from dependencies and `build_rpath` provided by the user might contain the same path. Apple's `install_name` tool is allergic to providing the same argument twice when removing RPATHs: error: install_name_tool: "-delete_rpath /usr/lib" specified more than once
2018-08-28modules: Add an 'hotdoc' moduleThibault Saunier4-0/+32
hotdoc: http://github.com/hotdoc/hotdoc/
2018-08-27Add support for custom dist scripts.Jussi Pakkanen3-0/+26
2018-08-27Merge pull request #3981 from GoaLitiuM/d-win-fixesJussi Pakkanen12-30/+76
Fix D support on Windows
2018-08-27Add a `required` argument to `subproject`Thibault Saunier12-0/+60
Allowing to use the new "feature" option type and allowing not to fail on subproject if it is not necessary to fail. By default subprojects are "required" so previous behaviour is not changed. Fixes #3880
2018-08-26Tests for version constraints on custom lookup dependenciesJon Turney16-0/+62
2018-08-22Added "native" kwarg to add_XXX_args. Closes #3669.Jussi Pakkanen2-1/+46
2018-08-22Test that system shlibs with undefined symbols can be foundNirbheek Chauhan3-4/+32
2018-08-21Merge pull request #4036 from jon-turney/fix_issue_3999Jussi Pakkanen11-0/+74
Fix compiling multiple Windows resources using pathnames with non-unique basenames
2018-08-20Fix D tests to run on WindowsGoaLitiuM12-30/+76
2018-08-20Improve D mixed language test caseGoaLitiuM2-2/+14
2018-08-20Remove dependency to D runtime in mixed language testsGoaLitiuM1-2/+2
It is undefined behaviour to call D I/O functions without initializing D runtime first. Simplify the test so it will work in all platforms.
2018-08-19tests/check header: Use linux/socket.h instead of if.h [skip appveyor]Nirbheek Chauhan1-2/+2
linux/if.h can't be included directly because of a bug: https://lore.kernel.org/patchwork/patch/762406/ Closes https://github.com/mesonbuild/meson/issues/4053
2018-08-19Condense test dirs.Jussi Pakkanen930-0/+0
2018-08-19Consolidated if and elif tests in one project.Jussi Pakkanen2-28/+30