Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | unit tests: Properly skip if pkg-config wasn't found | Nirbheek Chauhan | 2017-11-11 | 1 | -0/+4 | |
| | | ||||||
| * | pkgconfig module: Escape all paths while generating | Nirbheek Chauhan | 2017-11-11 | 1 | -6/+28 | |
| | | | | | | | | | | Without this, we produce unusable pkg-config files when prefix/libdir/etc contain spaces, which is very common on Windows. | |||||
| * | dependencies: Add a test for static libs with pkg-config | Nirbheek Chauhan | 2017-11-11 | 1 | -39/+87 | |
| | | | | | | | | | | Demonstrates that pkg-config does not prefer static libs over shared libs even if we use the `static: true` kwarg. | |||||
* | | Add unittest of prefix dependent default directories | Jon Turney | 2017-10-28 | 1 | -1/+48 | |
|/ | | | | | | Also, make BasePlatformTests.tearDown() tolerate wipe() already having been called, rather than AllPlatformTests.test_prefix_dependent_defaults() having to avoid wipe() on the final iteration. | |||||
* | Merge pull request #2397 from mesonbuild/prebuilt | Jussi Pakkanen | 2017-10-02 | 1 | -0/+94 | |
|\ | | | | | Better support for prebuilt shared libs | |||||
| * | Fix tests on OSX. | Jussi Pakkanen | 2017-10-01 | 1 | -1/+3 | |
| | | ||||||
| * | Fix MSVC builds. | Jussi Pakkanen | 2017-10-01 | 1 | -1/+7 | |
| | | ||||||
| * | Add an rpath entry to shared libraries that are linked from the source tree. | Jussi Pakkanen | 2017-09-30 | 1 | -6/+33 | |
| | | ||||||
| * | Moved prebuilt static library under unit tests. | Jussi Pakkanen | 2017-09-30 | 1 | -1/+23 | |
| | | ||||||
| * | Moved prebuilt object test under unittests. | Jussi Pakkanen | 2017-09-30 | 1 | -0/+37 | |
| | | ||||||
* | | Use listify and extract_as_list everywhere | Nirbheek Chauhan | 2017-10-01 | 1 | -1/+44 | |
|/ | | | | | | They now flatten by default and unhold objects if required Includes unit tests. | |||||
* | flake8: Perform suggested whitespace/formatting changes | Luke Shumaker | 2017-09-21 | 1 | -1/+1 | |
| | | | | | This only touches newlines, spaces, and (occaisionally) commas. Anything else is left for another commit. | |||||
* | Add test for get_option(b_xxx) on reconfigure. | Hristo Venev | 2017-09-15 | 1 | -0/+5 | |
| | ||||||
* | Add a test for the custom target incdirs change | Nirbheek Chauhan | 2017-09-11 | 1 | -1/+3 | |
| | | | | https://github.com/mesonbuild/meson/pull/2291 | |||||
* | Merge pull request #2236 from trhd/env | Jussi Pakkanen | 2017-09-06 | 1 | -0/+2 | |
|\ | | | | | Fix a stack trace caused by environment variables in test setups. | |||||
| * | Add a regression test for test suites. | Hemmo Nieminen | 2017-09-01 | 1 | -0/+2 | |
| | | | | | | | | | | Ensure test setup environment variables can from now on be given also as strings. | |||||
* | | Permit overriding find_program from the cross file. | Jussi Pakkanen | 2017-09-04 | 1 | -0/+22 | |
|/ | ||||||
* | Fix coverage target breakage and add a test for it. | Jussi Pakkanen | 2017-08-20 | 1 | -0/+13 | |
| | ||||||
* | Remove PHONY because Windows and OSX file systems are crap. Closes #2199. | Jussi Pakkanen | 2017-08-20 | 1 | -0/+3 | |
| | ||||||
* | Add a test for dirs with reserved target names | Nirbheek Chauhan | 2017-08-15 | 1 | -0/+13 | |
| | | | | | | And for dirs with the same name as run_target()s Reproduces https://github.com/mesonbuild/meson/issues/1644 | |||||
* | run_unittests: Add a helper for asserting path existence | Nirbheek Chauhan | 2017-08-15 | 1 | -17/+25 | |
| | | | | It is useful to have a message displayed if the assert is fired. | |||||
* | Use "meson test" in test invocations so it will not print the deprecation â” | Jussi Pakkanen | 2017-08-14 | 1 | -1/+1 | |
| | | | | warning. | |||||
* | unit tests: Select test cases inside run_unittests.py | Nirbheek Chauhan | 2017-08-13 | 1 | -2/+11 | |
| | | | | | | This allows people to directly run ./run_unittests.py without having to worry about selecting the right test cases for the platform they are on. | |||||
* | Print deprecation warnings on old style commands. | Jussi Pakkanen | 2017-08-02 | 1 | -2/+2 | |
| | ||||||
* | Ensure same compiler flags are used for compiling PCH as normal sources | GabrĂel ArthĂșr PĂ©tursson | 2017-07-24 | 1 | -0/+7 | |
| | | | | | | | Precompiled headers should generally be compiled with the same flags as the sources that will include the header. Some deviations are safe, however, most will cause the compiler to reject the precompiled header or possibly lead to compiler crashes. | |||||
* | find_library: Ignore libs on MSVC properly | Nirbheek Chauhan | 2017-07-23 | 1 | -0/+17 | |
| | | | | | | | | In addition to filtering libs out while generating the command-line, we must also filter them out in find_library() otherwise these libs will be detected as "found" on Windows with MSVC. Closes https://github.com/mesonbuild/meson/issues/1509 | |||||
* | Add build_rpath as new property allowing people to specify rpath entries â” | Jussi Pakkanen | 2017-07-21 | 1 | -0/+11 | |
| | | | | that are used in the build tree but will be removed on install. | |||||
* | Add a mesonintrospect --dependencies test | Martin Ejdestig | 2017-07-20 | 1 | -0/+22 | |
| | ||||||
* | unittests: Don't pass /nologo to `cl` during detection | Nirbheek Chauhan | 2017-07-17 | 1 | -1/+1 | |
| | | | | | | | This causes it to not output the version information to stderr, which we need to extract the version and the architecture. Found by Jussi. | |||||
* | unittests: Check value of cc.is_64 with MSVC | Nirbheek Chauhan | 2017-07-17 | 1 | -0/+9 | |
| | ||||||
* | unittests: Ensure that the compiler version is not blank | Nirbheek Chauhan | 2017-07-17 | 1 | -0/+4 | |
| | ||||||
* | Split out languages from compilers.py | Alistair Thomas | 2017-06-23 | 1 | -1/+1 | |
| | ||||||
* | Split linkers out from compilers.py | Alistair Thomas | 2017-06-22 | 1 | -3/+3 | |
| | ||||||
* | Merge pull request #1920 from QuLogic/hg-dist | Jussi Pakkanen | 2017-06-21 | 1 | -10/+36 | |
|\ | | | | | Add Mercurial dist support | |||||
| * | Add test for Mercurial dist'ing. | Elliott Sales de Andrade | 2017-06-13 | 1 | -10/+36 | |
| | | ||||||
* | | Handle both pkg-config and pkgconf argument order. Closes #1934. | Jussi Pakkanen | 2017-06-18 | 1 | -8/+14 | |
| | | ||||||
* | | Merge pull request #1951 from mesonbuild/dedupfix | Jussi Pakkanen | 2017-06-18 | 1 | -0/+9 | |
|\ \ | | | | | | | Preserve standalone -D arguments | |||||
| * | | Preserve standalone -D arguments always. | Jussi Pakkanen | 2017-06-18 | 1 | -3/+4 | |
| | | | ||||||
| * | | Failing test for -D dedupping. | Jussi Pakkanen | 2017-06-17 | 1 | -0/+8 | |
| |/ | ||||||
* | | Use the Windows proof dir deleter consistently. | Jussi Pakkanen | 2017-06-17 | 1 | -5/+5 | |
|/ | ||||||
* | tests/unit/8: Rename to 9 and add -l flags | Nirbheek Chauhan | 2017-06-12 | 1 | -2/+5 | |
| | ||||||
* | Created unit test to ensure linker arguments from consecutive dependencies â” | Jussi Pakkanen | 2017-06-12 | 1 | -0/+16 | |
| | | | | are kept in order. | |||||
* | Preserve -L -l pairings fetched from external deps | Nirbheek Chauhan | 2017-06-12 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While adding link args for external deps, sometimes different libraries come from different prefixes, and an older version of the same library might be present in other prefixes and we don't want to accidentally pick that up. For example: /usr/local/lib/libglib-2.0.so /usr/local/lib/pkgconfig/glib-2.0.pc /usr/local/lib/libz.so /usr/local/lib/pkgconfig/zlib.pc /home/mesonuser/.local/lib/libglib-2.0.so /home/mesonuser/.local/lib/pkgconfig/glib-2.0.pc PKG_CONFIG_PATH="/home/mesonuser/.local/lib/pkgconfig/:/usr/local/lib/pkgconfig/" If a target uses `dependencies : [glib_dep, zlib_dep]`, it will end up using /usr/local/lib/libglib-2.0.so instead of /home/mesonuser/.local/lib/libglib-2.0.so despite using the pkg-config file in /home/mesonuser/.local/lib/pkgconfig because we reorder the -L flag and separate it from the -l flag. With this change, external link arguments will be added to the compiler list without de-dup or reordering. Closes https://github.com/mesonbuild/meson/issues/1718 | |||||
* | tests: Add Boost unit tests and project tests on Windows | Nirbheek Chauhan | 2017-06-10 | 1 | -0/+13 | |
| | | | | | | Boost tests are disabled on Windows for now because the detection is actually completely broken. Once that's fixed (after the release) we can enable it again. | |||||
* | tests: Increase dependencies coverage a bit more | Nirbheek Chauhan | 2017-06-10 | 1 | -5/+61 | |
| | ||||||
* | tests: Improve llvm dependency test coverage | Nirbheek Chauhan | 2017-06-09 | 1 | -0/+4 | |
| | ||||||
* | unit tests: Add class to generate failing tests | Nirbheek Chauhan | 2017-06-09 | 1 | -11/+72 | |
| | | | | | | | | | It is not feasible to test all failure modes by creating projects in `test cases/failing` that would be an explosion of files, and that mechanism is too coarse anyway. We have no way to ensure that the expected error is being raised. See FailureTests.test_dependency for an example. | |||||
* | Do not use context managers. Because Windows. | Jussi Pakkanen | 2017-06-08 | 1 | -9/+16 | |
| | ||||||
* | Merged needs_exe_wrapper branch. | Jussi Pakkanen | 2017-06-07 | 1 | -0/+30 | |
|\ | ||||||
| * | environment: Add needs_exe_wrapper for overriding auto-detection. | Ole André Vadla RavnÄs | 2017-05-29 | 1 | -0/+30 | |
| | | | | | | | | | | | | | | | | This is useful when build_machine appears to be compatible with host_machine, but actually isn't. For example when: - build_machine is macOS and host_machine is the iOS Simulator - the build_machine's libc is glibc but the host_machine libc is uClibc - code relies on kernel features not available on the build_machine |