aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-02-20Users.md: lightdm-webkit2-greeter no longer uses meson [skip ci]Nirbheek Chauhan1-1/+0
2018-02-20docs: Add subproject warning for source_root and build_root [skip ci]Nirbheek Chauhan1-6/+11
2018-02-20Users.md: Add libzim, which only uses mesonNirbheek Chauhan1-0/+1
[skip ci]
2018-02-20Fail if singleline string has multiple linesCaio Marcelo de Oliveira Filho1-0/+3
2018-02-20rmtree: Don't retry when the file is not foundNirbheek Chauhan1-0/+2
No need to pointlessly loop for several seconds in this case.
2018-02-20vala: Fix path of C file with generated Vala filesNirbheek Chauhan3-9/+50
We missed one particular edge-case in #2413: when the generated vala file is inside --basedir, the path is not just the basename.c Since this case can never happen in a project test, this includes a unit test for the same. Closes https://github.com/mesonbuild/meson/issues/815
2018-02-20Support running out-of-tree tests against a meson in PATHNirbheek Chauhan1-5/+11
Closes https://github.com/mesonbuild/meson/issues/3015
2018-02-20wrap: Fix broken logic when initializing submodulesNirbheek Chauhan1-6/+10
Also be more lenient when doing git checkout, and continue even if it failed. Closes https://github.com/mesonbuild/meson/issues/3088
2018-02-20Run FPGA tests.Jussi Pakkanen1-0/+1
2018-02-20Users.md: Update some old/broken URLsNirbheek Chauhan1-17/+17
[skip ci]
2018-02-19docs: fix missing backtickEric Engestrom1-1/+1
2018-02-19Users.md: link to github page for easy editingNirbheek Chauhan1-1/+1
Also mention that software on the list will be tested for regressions.
2018-02-18Merge pull request #2863 from jon-turney/exit-status-on-exceptionJussi Pakkanen10-9/+75
Verify that failing tests are failing with an error, not a python exception
2018-02-18Merge pull request #2943 from ximion/masterJussi Pakkanen8-8/+63
Don't fail loading subprojects if subprojects_dir is in a subdirectory
2018-02-18Add python3 dependency documentation and link it from python3 moduleAleksey Filippov2-0/+16
Closes #3009
2018-02-17Don't mention "error" in error messagesMatthias Klumpp1-1/+1
Starting with VS 2017 if the output of any command run by VS contains the word Error it will interpret that as a fatal error, even if the exit error code is zero. This messes up the unit tests on VS 2017, because we sometimes want to deliberately ignore error messages. Change "Error" to "Problem" to mitigate this issue until a more permanent solution is found.
2018-02-17doc: fix typo in icestorm documentationDavid Fort1-1/+1
2018-02-16Merge pull request #2999 from peteruithoven/patch-1Jussi Pakkanen1-16/+36
Localisation documentation alternative
2018-02-16Merge pull request #3004 from bredelings/clean-boostJussi Pakkanen1-81/+125
Factor out code for windows abi tags.
2018-02-16Fix subproject prefix handling when checking subproject option validity.Hemmo Nieminen2-9/+26
2018-02-16Document how to set options in subprojectsMartin Ejdestig1-0/+7
2018-02-16Merge pull request #3069 from dcbaker/pch_one_argJussi Pakkanen2-13/+20
Fix targets with C and C++ code that use pre compiled headers
2018-02-15Updated docs to do "meson wrap" instead of "wraptool".Jussi Pakkanen1-11/+11
2018-02-15Only remove substring if it is part of stringNiklas Claesson1-3/+6
Fixes #2661
2018-02-15Add source location to warning for comparing different typesJon Turney1-2/+2
2018-02-15Fix exception in 'test cases/failing/55 wrong shared crate type' when rustc ↵Jon Turney1-2/+3
is missing Fix exception handling of missing rustc, by making it look like the other compiler detectors Traceback (most recent call last): File "/wip/meson/mesonbuild/environment.py", line 699, in detect_rust_compiler p, out = Popen_safe(compiler + ['--version'])[0:2] [...] FileNotFoundError: [Errno 2] No such file or directory: 'rustc': 'rustc' During handling of the above exception, another exception occurred: [...] File "/wip/meson/mesonbuild/environment.py", line 701, in detect_rust_compiler popen_exceptions[compiler] = e TypeError: unhashable type: 'list'
2018-02-15Fix test cases/failing/52 inconsistent comparisonJon Turney2-4/+26
Since PR #2884, this is failing with an exception Keep the behaviour we have had since PR #1810 (0.41.0), that ordering comparisons of different types fail with an InterpreterException. Also warn about equality comparisons of different types, which will one day become an error, as per PR #2884.
2018-02-15Only expose exception() test function during unit testsJon Turney2-1/+3
2018-02-15Add a test case for python exception exit statusJon Turney3-0/+18
2018-02-15Verify that failing tests are failing with an error, not a python exceptionJon Turney4-3/+26
PR #2527 suggests "making failing tests more strict about failing gracefully". To achive this, make meson exit with distinct exit statuses for meson errors and python exceptions, and check the exit status is as expected for failing tests. I can't see how to write a test for this, within the current framework. You can test this change by reverting the fix (but not the test) from commit 1a159db8 and verifying that 'test cases/failing/66 string as link target' fails.
2018-02-14Permit path separators in subproject names but with a warning. Closes #2794.Jussi Pakkanen1-2/+10
2018-02-14backends: Only add pch args that are appropriate for the compilerDylan Baker1-10/+4
Currently we try both C and C++ when determining which PCH files to include. The problem with this approach is that if there are no C or C++ files (only headers) and the target has both C and C++ sources then the PCHs will be passed to the wrong compiler. The solution is less code, we already have the compiler, the compiler knows what language it is, so we don't need to walk both C and C++. Fixes #3068
2018-02-14tests/15 mixed pch: Add a test using only the headersDylan Baker1-0/+10
Which is supposed to work for GCC and Clang.
2018-02-14tests/15 mixed pch: Use current styleDylan Baker1-3/+6
2018-02-14Update Users.md (#3063)Amit D1-0/+5
2018-02-14Ensure any generation error appears in the logfile and thus in CI outputJon Turney1-4/+5
Since c2a5ac39, MesonApp.generate() closes the logfile before returning, which means that when invoked by mesonmain.run(), any MesonException is not logged there. MesonApp.generate() does not appear to have any other users I can find. This somewhat reduces the diagnostic value of the logfile. This also interacts badly with running project tests in CI, as _run_tests chooses to report the logfile contents, rather than stdout, for the configure step, and it thus doesn't report any configure error which caused a test failure.
2018-02-14Only add reconfigure deps on files, not dirs. Closes #2919.Jussi Pakkanen1-1/+1
2018-02-13Fix a stack trace caused by subproject.get_variable('non-existing').Hemmo Nieminen1-3/+7
2018-02-13Use absolute path if relative can not be evaluated. Closes #2784.Jussi Pakkanen1-1/+8
2018-02-13Add an example for gresourceDaniel Foré1-0/+19
2018-02-13Update Users.mdAmit D1-4/+4
2018-02-12Space fix.Jussi Pakkanen1-1/+1
2018-02-12Do not set MALLOC_PERTURB_ for benchmarksAlex Hirsch1-3/+3
Setting MALLOC_PERTURB_ to a non-zero value is fine for regular test cases. It helps catching bugs, but also comes with some runtime overhead. This overhead is noticeable for benchmarks when compared to running them directly instead of through Meason. Therefore, MALLOC_PERTURB_ is not touched for benchmarks. closes #3034
2018-02-12Clarify that int options are available since 0.45.0.Jussi Pakkanen1-3/+5
2018-02-12Add test for subprojects in subdirectoriesMatthias Klumpp7-0/+49
2018-02-12Don't fail loading subprojects if subprojects_dir is in a subdirectoryMatthias Klumpp1-5/+11
2018-02-12Show a better error message if subproject can not be configuredMatthias Klumpp1-2/+2
Previously, Meson was showing a subproject being downloaded after later claiming it doesn't exist. This patch shows the actual error to clarify why the given subproject can not be used.
2018-02-12Update Users.md (#3050)Amit D1-1/+6
2018-02-12Use the same name for the conf_data variableAndrea G1-13/+15
Before, each example used a different variable name making them more difficult to understand for a novice.
2018-02-12Add missing closed parenthesisAndrea G1-2/+2