Hemmo Nieminen
fc17e3b9cc
mesontest: Show the test command in truncated test logs.
8 years ago
Hemmo Nieminen
bf281fd4c4
mesontest: Remove excess newline and whitespace from test logs.
8 years ago
Nirbheek Chauhan
89ea236b02
project tests: Always print the logs of failing tests
...
There is never any reason to not do this since this script is supposed
to be run by developers and testers who are concerned with the details
of the problems.
It also helps with intermittent or hard-to-reproduce errors.
8 years ago
Jussi Pakkanen
dc70916ca4
Catch permissionerrors too, since Windows seems to produce them occasionally.
8 years ago
Jussi Pakkanen
e245bdbdc0
Merge pull request #1254 from mesonbuild/testsetups
...
Add test setups
8 years ago
Igor Gnatenko
f4058b692d
backends/ninja: remove unused variable
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Jussi Pakkanen
b3d51abff2
Can put external programs to test suite exe wrappers directly.
8 years ago
Jussi Pakkanen
74f15263b6
Can set envvars in test setups.
8 years ago
Jussi Pakkanen
ee8a6e6fc5
Can specify test setups and run them with mesontest.
8 years ago
Igor Gnatenko
ef3cc6b3fa
style: fix E127 violations
...
E127: continuation line over-indented for visual indent
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
cdd05aa5dc
style: fix E241 violations
...
E241: multiple spaces after ','
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
dd36847c4b
style: fix E202 violations
...
E202: whitespace before ']'
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
c13160034f
style: fix E201 violations
...
E201: whitespace after '['
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Jussi Pakkanen
d94f64ded1
Support default_options in dependency() fallbacks.
8 years ago
Jussi Pakkanen
776b0d9a5f
Merge pull request #1263 from centricular/meson_exe_deterministic
...
serialise_executable: Name the data file deterministically
8 years ago
Mike Sinkovsky
2d2e3b943c
fix for cross-builds targeting macosx
8 years ago
Igor Gnatenko
f0bc5568a7
style: fix E703 violations
...
E703: statement ends with a semicolon
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
969dc7e995
style: fix E124 violations
...
E124: closing bracket does not match visual indentation
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
116da33cdd
style: fix E128 violations
...
E128: continuation line under-indented for visual indent
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
ea570bcb67
style: fix E265 violations
...
E265: block comment should start with '# '
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
f19bec34a9
style: fix E271 violations
...
E271: multiple spaces after keyword
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
5693758e46
style: fix E231 violations
...
E231: missing whitespace after ','
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
2a835c2c10
style: fix E221 violations
...
E221: multiple spaces before operator
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
ef608f217d
style: fix E222 violations
...
E222: multiple spaces after operator
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
2017d8578a
style: fix E226 violations
...
E226: missing whitespace around arithmetic operator
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
f0b30baa39
style: fix E225 violations
...
E225: missing whitespace around operator
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
15629d2fae
backends/ninja: remove unused variables
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Nirbheek Chauhan
5060e2045b
serialise_executable: Name the data file deterministically
...
Closes #1062
8 years ago
Nirbheek Chauhan
3445beb00b
Add a test for deterministic exe-wrapper data file
...
https://github.com/mesonbuild/meson/issues/1062
8 years ago
Jussi Pakkanen
b55235dfbd
Fix space before :.
8 years ago
Hemmo Nieminen
504f974204
Pass project's user options to scan-build temporary project.
...
This allows (among other things) scan-build to process a project's
optional components that will not get built unless a (user) option has
been set.
8 years ago
Jussi Pakkanen
92f8e0ab31
Do not run arm cross compilation tests on arm.
8 years ago
Jussi Pakkanen
0a14ad63de
Add simple uninstall target. Closes #753 .
8 years ago
Jussi Pakkanen
aff62a4611
Merge pull request #1258 from QuLogic/compile_resource-includes
...
Add include_directories to windows.compile_resources.
8 years ago
Hemmo Nieminen
4ae629d2aa
Use the correct directory for scan-build command.
8 years ago
Jussi Pakkanen
d716d53b32
Can override project option default values in subproject().
8 years ago
Jussi Pakkanen
73042c7912
Can set project options (but not global options) in subproject default options.
8 years ago
Jussi Pakkanen
f85c348b94
Move option file parsing to after the project() inputs have been decoded to access default options.
8 years ago
Igor Gnatenko
8f5b67434d
setup.cfg: fix syntax
8 years ago
Elliott Sales de Andrade
157549fe72
Add include_directories to windows.compile_resources.
8 years ago
Elliott Sales de Andrade
24b3585318
Move _get_include_args from gnome to modules.
8 years ago
Jussi Pakkanen
c1e2f58443
Just say no.
8 years ago
Igor Gnatenko
f56458810d
setup.cfg: ignore couple of PEP8 errors
...
We don't care about E261 and temporarily ignore E501.
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Jussi Pakkanen
775729eb59
Can specify include directories to compiler tests.
8 years ago
Nirbheek Chauhan
a97291dc6d
Add get_version() method to all dependencies
...
We unconditionally check the version of all dependencies, so without
this regen will fail if you use that dependency.
8 years ago
Nirbheek Chauhan
a3c02262f9
Force a Ninja regeneration before each project test
...
We have no test coverage for regeneration at all, which is why issues
like #1246 slide by without us noticing. With this, we will run a regen
on every test during `ninja test` after it has been compiled. This will
not affect test times too much since the regen will not rebuild anything
at all since there have been no source changes.
8 years ago
Matthias Klumpp
7eb96375ca
gdc: Make dependency check work
...
The -fmake-deps command does not segfault anymore, and if it is used
with "=" there will also be no "file not found" error.
8 years ago
Jussi Pakkanen
4b7c39d9d1
Merge pull request #1247 from centricular/fix-installed-soname-aliases
...
Fix soname symlinking after installation
8 years ago
Matthias Klumpp
8ee1c9a07a
Do not automatically set warning flags if buildtype is 'plain'
8 years ago
Elliott Sales de Andrade
18c38df875
Add Generator.process_files to reduce code duplication.
8 years ago