summaryrefslogtreecommitdiff
path: root/test cases
AgeCommit message (Collapse)Author
2017-08-14Add variables to test to prove linkage is correct.Elliott Sales de Andrade
2017-08-14Add broken test case from #1494.Elliott Sales de Andrade
Also, check a file with a subdirectory and extract_objects().
2017-08-15Merge pull request #2191 from centricular/fix-ninja-clean-target-dirJussi Pakkanen
Fix ninja clean in some edge cases + a bonus windows fix
2017-08-15tests/common/159: Disable phony testNirbheek Chauhan
Breaks on case-insensitive HFS+ on Travis https://travis-ci.org/mesonbuild/meson/jobs/264468097 And on Appveyor: https://ci.appveyor.com/project/jpakkane/meson/build/3344/job/k996o8g57qf68ryb
2017-08-15tests/common/159: Disable b_coverage=trueNirbheek Chauhan
Setting it seems to cause it to be set on all later tests, which causes a lot of failures: https://travis-ci.org/mesonbuild/meson/jobs/264468097 https://travis-ci.org/mesonbuild/meson/jobs/264468093
2017-08-14Printing unknown kwarg error message no longer crashes the parser.Jussi Pakkanen
2017-08-15Add a test for dirs with reserved target namesNirbheek Chauhan
And for dirs with the same name as run_target()s Reproduces https://github.com/mesonbuild/meson/issues/1644
2017-08-14gnome: add mkenums_simple()Tim-Philipp Müller
99% of all mkenums uses in C libraries use the same basic template, so add a mkenums_simple() function that takes care of everything for us based on that template. Features: - optional function declaration decorator such as GLIB_AVAILABLE - optional extra header prefix (e.g. for include needed for decorator) - optional extra body prefix (e.g. for additional includes) - optional function name prefix (e.g. to add leading underscores) Fixes issue #1384
2017-08-13Merge pull request #2130 from bruce-richardson/pcap_config_supportJussi Pakkanen
add support for pcap dependencies
2017-08-13gnome: Allow passing build_by_default: to some functionsNirbheek Chauhan
Closes https://github.com/mesonbuild/meson/issues/2174
2017-08-13gnome: Fix parsing of resource custom target filesNirbheek Chauhan
gnome.compile_resources() was not parsing custom target sources properly. It was using the custom target name as the output of the custom target instead of looking at the list of outputs. Also modify the GNOME framework test to expose this.
2017-08-10add unit test case for pcap dependency objectBruce Richardson
2017-08-07Renamed test dir to remove duplicatec number. Closes #2158.Jussi Pakkanen
2017-08-06Merged exclude_dir branch.Jussi Pakkanen
2017-08-06Allow excluding files from `install_subdir`Elliott Sales de Andrade
The install_subdir command now accepts a new `exclude` keyword argument that allows specified files to be excluded from the installed subdirectory.
2017-08-04Move MPI tests into frameworks.Elliott Sales de Andrade
This prevents them being cross-compiled (which wouldn't work without MPI cross-compilers) and disables Windows builds (will need to be fixed later.)
2017-08-04Add support for MS-MPI.Elliott Sales de Andrade
2017-08-04Add MPI dependency.Elliott Sales de Andrade
We prefer pkg-config files, though only OpenMPI supplies them. Otherwise, check environment variables and search for wrappers and ask them for what to do.
2017-08-05Renamed test dir to avoid duplicate numbers.Jussi Pakkanen
2017-08-05Add option to disable implicit include directories. Closes #2139.Jussi Pakkanen
2017-08-04Merge pull request #2113 from nyorain/vulkanJussi Pakkanen
Vulkan dependency module
2017-08-04Can pass all target kwargs through to SIMD invocations. Closes #2151.Jussi Pakkanen
2017-08-03Consider link_whole_targets when determining linkerDylan Baker
Currently if a target uses link_whole, and one of those archives is a C++, but the files for the target are C linking will fail when the C linker attempts to link the C++ files. This patches add link_whole_targets to the list of languages in the target so the correct linker will be selected.
2017-08-02Fix ppoll() test to work on non-glibc platformsAlan Coopersmith
2017-08-01Add thread flags to checks if needed. Closes #2106.Jussi Pakkanen
2017-07-31Fix test() accepting configure files for exePatrick Griffis
2017-07-31Convert man inputs to Files so you can install_man the output of ↵Jussi Pakkanen
configure_file. Closes #2135.
2017-07-27Fix vulkan windows; Make test succeed w/o drivernyorain
Fix an error in the windows vulkan_sdk library finding. Also don't fail the vulkan test only because no vulkan driver is installed (should fix the travis error).
2017-07-24Fix vulkan testnyorain
2017-07-24Fix wrong dep name in vulkan testnyorain
2017-07-24Add first vulkan dependency modulenyorain
2017-07-24Tag functions in asm properly.Rico Tzschichholz
2017-07-23Test the newly added gnome.genmarshal() argumentEmmanuele Bassi
2017-07-23CompilerArgs: Put start/end-group around shared libs tooNirbheek Chauhan
Closes https://github.com/mesonbuild/meson/issues/2096
2017-07-22add `crate-name` to Rust target argsAdam C. Foltzer
This is required for downstream Rust dependencies to properly import libraries using `extern crate`.
2017-07-21Merged buildrpath branch.Jussi Pakkanen
2017-07-21Fix run_target() accepting ConfigureFile for commandPatrick Griffis
2017-07-21Renamed test dirs to remove duplicated numbers.Jussi Pakkanen
2017-07-21Check for manual attempts to set rpath and update docs.Jussi Pakkanen
2017-07-21Add build_rpath as new property allowing people to specify rpath entries ↵Jussi Pakkanen
that are used in the build tree but will be removed on install.
2017-07-20Use full_path() rather than adding current_build_dir() as rpath in test ↵Jon Turney
common/154
2017-07-20Make the name of the executable implib configurableJon Turney
2017-07-20Consolidate windows tests which are divided between mingw and msvcJon Turney
2017-07-20Support implibs for executables on WindowsJon Turney
Add a boolean 'implib' kwarg to executable(). If true, it is permitted to use the returned build target object in link_with: On platforms where this makes sense (e.g. Windows), an implib is generated for the executable and used when linking. Otherwise, it has no effect. (Rather than checking if it is a StaticLibrary or SharedLibary, BuildTarget subclasses gain the is_linkable_target method to test if they can appear in link_with:) Also install any executable implib in a similar way to a shared library implib, i.e. placing the implib in the appropriate place Add tests of: - a shared_module containing a reference to a symbol which is known (at link time) to be provided by the executable - trying to link with non-implib executables (should fail) - installing the implib (This last one needs a little enhancement of the installed file checking as this is the first install test we have which needs to work with either MSVC-style or GCC-style implib filenames)
2017-07-20Allow test to depend on executable target in cross build. (#2007)FredericHamel
* Add a crossbuild case in 'test case/common/1 trivial/meson.build' * Add native flags for crossbuild tests.
2017-07-18Turned SIMD into an unstable module.Jussi Pakkanen
2017-07-17Renamed test case number to avoid dupes.Jussi Pakkanen
2017-07-17Renamed test dir.Jussi Pakkanen
2017-07-17Created merge_from method for ConfigurationData.Jussi Pakkanen
2017-07-17Create a new configuration data object and return it as the result.Jussi Pakkanen