Elliott Sales de Andrade
330aebc186
Fix message to be checked in Qt5 unit test.
8 years ago
Nirbheek Chauhan
cedfa575f6
Add a unit test for Qt5 detection with qmake
...
This can only be done as a unit test because it requires changes to the
environment. This also means we need to pass the current environment to
subprocess.check_output, which we should always do anyway since the
environment is torn down and restored between each test.
8 years ago
Nirbheek Chauhan
66ec8c4258
tests: Check that run_target can find a files() argument
...
Tests https://github.com/mesonbuild/meson/issues/957
8 years ago
Jussi Pakkanen
69aa0091b1
The regex to detect version numbers needs to be a bit more complex. Closes #967 .
8 years ago
Jussi Pakkanen
6762d30c6a
Exposes the install names of targets in introspection. Closes #829 .
8 years ago
Nirbheek Chauhan
f3bb6bb227
Add a unit test to ensure object file order
...
Part of the changes to make input and output filenames in targets be
deterministic.
8 years ago
Nirbheek Chauhan
9ac98040ae
Add a unittest using the Vala and C warnings test
...
This actually tests that -Wall, -Werror, and -w are set in the right
targets.
8 years ago
Nirbheek Chauhan
6ffae922cc
Add a unittest for pkg-config file generation
...
This also tests that -lfoo is correctly added to libfoo.pc when the
library name is 'libfoo' and name_prefix is ''
8 years ago
Nirbheek Chauhan
7307f6a5c8
unittests/pic: Actually test that setting b_staticpic works
...
The previous test was tautological for the second half because:
a) b_staticpic=true is the default
b) We weren't refetching the compdb
8 years ago
Jussi Pakkanen
28df8b800e
Add an option to select if static libraries are built with -fPIC.
8 years ago
Jussi Pakkanen
f90bfa5245
Review fixes.
8 years ago
Jussi Pakkanen
3a002709f4
Pass cmd line args onwards.
8 years ago
Jussi Pakkanen
b11a5b93cb
Store all invocation output. Not shown to users yet.
8 years ago
Jussi Pakkanen
c7936f6819
Run unittests.
8 years ago
Jussi Pakkanen
4dc798dc7e
Check that soname matches the filename. Closes #785 .
8 years ago
Jussi Pakkanen
9fdec2d23f
Created a file to run unit test suite with.
8 years ago