Nirbheek Chauhan
86a0c39f4b
Add test for generated assembly
...
We weren't testing for this and it was broken
8 years ago
Nirbheek Chauhan
f934598865
Add a test for generated LLVM IR files
8 years ago
Jussi Pakkanen
577a9b40d5
Merge pull request #1312 from centricular/print-pkgdep-error-osx
...
Fix pkg-config error handling on OS X
8 years ago
Mike Sinkovsky
550761d97b
cleanup: @staticmethod
8 years ago
Mike Sinkovsky
dac8351ff1
cleanup: Unbound local variable
8 years ago
Mike Sinkovsky
c9423cc3a8
cleanup: Replace assignment with augmented assignment
8 years ago
Mike Sinkovsky
969be1f679
cleanup: Remove redundant parentheses
8 years ago
Mike Sinkovsky
1d177fb127
cleanup: Unused local variables
8 years ago
Mike Sinkovsky
22eed4c417
cleanup: Redundant character escape
8 years ago
Nirbheek Chauhan
705612f7cf
pkgdep: Print found message after setting cargs/libs
...
Fetching cflags and libs can also fail if, for instance, the pkg-config
file for a dependency needed by this package isn't found. Without this,
we will print "Found: YES" and then "Found: NO".
8 years ago
Nirbheek Chauhan
2d31851d3b
Print pkg-config error when framework dep isn't found
...
Without this, macOS users can't figure out why a particular dependency
wasn't found because the pkg-config error message gets masked by the
fresh and useless DependencyException.
8 years ago
Nirbheek Chauhan
e441a74282
Derive all exceptions correctly from base exceptions
...
Don't need to define __init__ and manually call the parent init. Doing
so messes up the error message you get by doing str(exception) because
it includes the current class name in it repeatedly.
8 years ago
Jussi Pakkanen
11f9425a5e
Can use targets directly in test arguments.
8 years ago
Jussi Pakkanen
cfc33ac421
Merge pull request #1303 from mesonbuild/buildonall
...
Add kwarg build_by_default
8 years ago
Jussi Pakkanen
7a28f387e2
More readable total statistics.
8 years ago
Jussi Pakkanen
21d8505825
build_by_default it is.
8 years ago
Jussi Pakkanen
72a346dacf
Merge pull request #1257 from QuLogic/generator-files
...
Add support for Files passed to generators.
8 years ago
Nirbheek Chauhan
0bc44da702
tests/common/126: Also skip unsupported CPUs here
...
Related to https://github.com/mesonbuild/meson/pull/1289 and
https://github.com/mesonbuild/meson/issue/1287
8 years ago
Jussi Pakkanen
58878b998d
Get rid of hasattr.
8 years ago
Jussi Pakkanen
db8ad2a4bd
Add test for build_on_all.
8 years ago
Jussi Pakkanen
b1087f011c
Moved detection of targets to build on all into own function.
8 years ago
Jussi Pakkanen
7abc7c64b0
Created base class for all targets and moved common functionality there.
8 years ago
Jussi Pakkanen
4aea0276f0
Merge pull request #1279 from trhd/master
...
mesontest: Improve test suite selection.
8 years ago
Hemmo Nieminen
5833bd6735
tests: Add a test for new test suite selection.
8 years ago
Hemmo Nieminen
b90956c2f2
mesontest: Improve test suite selection.
...
Suite option can now be given to specify in more detail which tests should
be run.
8 years ago
Elliott Sales de Andrade
78b030cf19
Add support for Files passed to generators.
...
I need this for windows.compile_resources to be able to use
configure_file results, but it may have other benefits.
8 years ago
Mike Sinkovsky
eea0670872
style: disable flake8 warnings E241, E251, E305, E401
8 years ago
Mike Sinkovsky
5b626ab4cb
style: [E1**] Indentation
8 years ago
Mike Sinkovsky
0dd1e33898
style: [E251] unexpected spaces around keyword / parameter equals
8 years ago
Mike Sinkovsky
ab4f7b56ce
style: [E272] multiple spaces before keyword
8 years ago
Mike Sinkovsky
3adf5aed81
style: [E402] module level import not at top of file
8 years ago
Mike Sinkovsky
77515ee541
style: [E303] too many blank lines (2)
8 years ago
Mike Sinkovsky
84902cb93a
style: [E301] expected 1 blank line, found 0
8 years ago
Mike Sinkovsky
f9344b03a8
style: [E721] do not compare types, use 'isinstance()'
8 years ago
Mike Sinkovsky
bf14cec81b
style: [E712] comparison to True should be 'if cond is True:' or 'if cond:'
8 years ago
Mike Sinkovsky
c8981bdd1b
style: [E711] comparison to None should be 'if cond is None:'
8 years ago
Mike Sinkovsky
e9a891fe25
style: [E502] the backslash is redundant between brackets
8 years ago
Jussi Pakkanen
34caf6471c
Merge pull request #787 from mesonbuild/py3module
...
Created a Python 3 module for simpler building of Python extension mo…
8 years ago
Jussi Pakkanen
6ac9a8e738
Add .find_python() method. Supersedes #777 .
8 years ago
Jussi Pakkanen
fbabe8ad85
There are two different kinds of extensions: modules that create new
...
objects directly and snippets that just call into interpreter methods.
8 years ago
Jussi Pakkanen
24221d71cc
Created a Python 3 module for simpler building of Python extension modules.
8 years ago
Jussi Pakkanen
9cf0991a1d
Merge pull request #1278 from mesonbuild/newmodules
...
Bring some order to modules
8 years ago
Nirbheek Chauhan
747d4f2b03
We only need Ninja 1.5.x for the core code
...
This change helps us run on older distros such as Ubuntu LTS which is
very lazy in updating even non-core and stable packages such as Ninja.
Ninja 1.6.x is only needed for running the tests.
8 years ago
Jussi Pakkanen
340781c515
Fix Gnome module.
8 years ago
Jussi Pakkanen
00f62d0755
Can get values in ConfigurationData objects.
8 years ago
Jussi Pakkanen
8f3616e72e
Compile asm only on supported cpus. Closes #1287 .
8 years ago
Jussi Pakkanen
fdd0675661
Better error messages. Closes #1284 .
8 years ago
Jussi Pakkanen
570c9b150b
Fix a few more modules.
8 years ago
Jussi Pakkanen
de24fddbd1
Create a module return value object.
8 years ago
Jussi Pakkanen
56e2c46ce1
Merge pull request #1272 from mesonbuild/ignatenko/lint
...
fix some linting errors
8 years ago