Jussi Pakkanen
2269b7f60b
Add build_rpath as new property allowing people to specify rpath entries that are used in the build tree but will be removed on install.
7 years ago
Jussi Pakkanen
85a263a670
Failing test for -D dedupping.
8 years ago
Nirbheek Chauhan
1865425b4b
tests/unit/8: Rename to 9 and add -l flags
8 years ago
Jussi Pakkanen
8244f4c6a6
Created unit test to ensure linker arguments from consecutive dependencies are kept in order.
8 years ago
Jussi Pakkanen
0e47e74a77
Do not obliterate old rpath because it might be used due to read only data sharing. Closes #1619 .
8 years ago
Jussi Pakkanen
1b81b32afb
Add test for werror which is a boolean type.
8 years ago
Jussi Pakkanen
319398f074
Proxy object for overriding options transparently.
8 years ago
Nirbheek Chauhan
58131c0515
tests: Fix typo in unit test code
...
This project wasn't actually configured, so it was never noticed.
8 years ago
Nirbheek Chauhan
798c349e35
Fix compiler exelist in cross-info and the environment
...
https://github.com/mesonbuild/meson/pull/1406 had an incomplete fix
for this. The test case caught it.
Note: this still doesn't test that setting it in the cross-info works,
but it's the same codepath as via the environment so it should be ok.
8 years ago
Nirbheek Chauhan
f90f17b250
unit tests: Test some corner-cases in test setups
...
https://github.com/mesonbuild/meson/pull/1402
8 years ago
Nirbheek Chauhan
4677f37366
tests: Move build-by-default unit test to common tests
...
Also add a test() that can be run on all platforms.
Currently unit tests are only run on Linux, so this was only testing the
Ninja backend. This change reveals that build-by-default was broken with
the Visual Studio backend.
8 years ago
Jussi Pakkanen
21d8505825
build_by_default it is.
8 years ago
Jussi Pakkanen
db8ad2a4bd
Add test for build_on_all.
8 years ago
Hemmo Nieminen
5833bd6735
tests: Add a test for new test suite selection.
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
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
Nirbheek Chauhan
18f581f2c4
Add an installed soname unit test
...
We also need to test that the sonames are correct after installation.
8 years ago
Jussi Pakkanen
07d7e87411
Allow soname to be an arbitrary string and fix symlink generation.
8 years ago
Jussi Pakkanen
d651727208
Bootstrap test code with CMake.
8 years ago