summaryrefslogtreecommitdiff
path: root/run_unittests.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | run_unittests: Document the purpose of each testNirbheek Chauhan2016-12-041-0/+47
| |
* | unit tests: Use universal_newlines everywhereNirbheek Chauhan2016-12-041-9/+12
| | | | | | | | | | | | | | | | | | This approach is locale-independent and more correct. For instance, this will work with UTF-16 while the previous approach with binary comparison would not. This also removes the need for doing an explicit decode to utf-8 which is lossy and can fail by yielding no output at all.
* | Compiler check and extra args should always overrideNirbheek Chauhan2016-12-041-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want compiler check arguments (-O0, -fpermissive, etc) to override all other arguments, and we want extra_args passed in by the build file to always override everything. To do this properly, we must split include arguments out, append them first, append all other arguments as usual, and then append the rest. As part of this, we also add the compiler check flags to the cc.compiles() and cc.links() helper functions since they also most likely need them. Also includes a unit test for all this.
* | Merge pull request #1102 from mesonbuild/sonameJussi Pakkanen2016-12-021-0/+51
|\ \ | | | | | | Fix soname symlink generation
| * | Allow soname to be an arbitrary string and fix symlink generation.Jussi Pakkanen2016-11-261-5/+4
| | |
| * | Bootstrap test code with CMake.Jussi Pakkanen2016-11-211-0/+52
| |/
* | Detect Qt5 properly on more platforms.Jussi Pakkanen2016-11-231-3/+11
|/
* Fix message to be checked in Qt5 unit test.Elliott Sales de Andrade2016-11-141-1/+1
|
* Add a unit test for Qt5 detection with qmakeNirbheek Chauhan2016-11-111-4/+26
| | | | | | | 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.
* tests: Check that run_target can find a files() argumentNirbheek Chauhan2016-11-091-0/+8
| | | | Tests https://github.com/mesonbuild/meson/issues/957
* The regex to detect version numbers needs to be a bit more complex. Closes #967.Jussi Pakkanen2016-11-021-1/+13
|
* Exposes the install names of targets in introspection. Closes #829.Jussi Pakkanen2016-10-301-0/+14
|
* Add a unit test to ensure object file orderNirbheek Chauhan2016-10-251-0/+11
| | | | | Part of the changes to make input and output filenames in targets be deterministic.
* Add a unittest using the Vala and C warnings testNirbheek Chauhan2016-10-141-0/+28
| | | | | This actually tests that -Wall, -Werror, and -w are set in the right targets.
* Add a unittest for pkg-config file generationNirbheek Chauhan2016-10-131-0/+21
| | | | | This also tests that -lfoo is correctly added to libfoo.pc when the library name is 'libfoo' and name_prefix is ''
* unittests/pic: Actually test that setting b_staticpic worksNirbheek Chauhan2016-10-121-3/+9
| | | | | | | The previous test was tautological for the second half because: a) b_staticpic=true is the default b) We weren't refetching the compdb
* Add an option to select if static libraries are built with -fPIC.Jussi Pakkanen2016-10-101-2/+18
|
* Review fixes.Jussi Pakkanen2016-10-091-8/+15
|
* Pass cmd line args onwards.Jussi Pakkanen2016-10-081-2/+2
|
* Store all invocation output. Not shown to users yet.Jussi Pakkanen2016-10-081-4/+5
|
* Run unittests.Jussi Pakkanen2016-10-081-0/+61