Jussi Pakkanen
6aa24362cd
Use copytree to prepare for further tests.
2016-12-04 17:38:03 +02:00
Jussi Pakkanen
90b038383d
Renamed rewriter.
2016-12-04 01:08:13 +02:00
Jussi Pakkanen
2168860a1e
Added unit test for rewriter.
2016-12-04 01:06:39 +02:00
Elliott Sales de Andrade
330aebc186
Fix message to be checked in Qt5 unit test.
2016-11-14 11:45:23 -05:00
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.
2016-11-11 01:51:30 +05:30
Nirbheek Chauhan
66ec8c4258
tests: Check that run_target can find a files() argument
...
Tests https://github.com/mesonbuild/meson/issues/957
2016-11-09 03:03:33 +05:30
Jussi Pakkanen
69aa0091b1
The regex to detect version numbers needs to be a bit more complex. Closes #967 .
2016-11-02 13:47:38 -07:00
Jussi Pakkanen
6762d30c6a
Exposes the install names of targets in introspection. Closes #829 .
2016-10-30 06:46:08 -07:00
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.
2016-10-25 14:36:47 +05:30
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.
2016-10-14 19:13:38 +05:30
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 ''
2016-10-13 02:19:02 +05:30
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
2016-10-12 20:49:19 +05:30
Jussi Pakkanen
28df8b800e
Add an option to select if static libraries are built with -fPIC.
2016-10-10 21:28:28 +03:00
Jussi Pakkanen
f90bfa5245
Review fixes.
2016-10-09 14:41:47 -04:00
Jussi Pakkanen
3a002709f4
Pass cmd line args onwards.
2016-10-08 08:06:59 -04:00
Jussi Pakkanen
b11a5b93cb
Store all invocation output. Not shown to users yet.
2016-10-08 07:54:37 -04:00
Jussi Pakkanen
c7936f6819
Run unittests.
2016-10-08 07:44:19 -04:00