Igor Gnatenko
ea570bcb67
style: fix E265 violations
...
E265: block comment should start with '# '
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01 12:02:05 -05:00
Igor Gnatenko
2017d8578a
style: fix E226 violations
...
E226: missing whitespace around arithmetic operator
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01 12:02:05 -05:00
Jussi Pakkanen
b55235dfbd
Fix space before :.
2016-12-31 16:28:15 +02:00
Nirbheek Chauhan
a3c02262f9
Force a Ninja regeneration before each project test
...
We have no test coverage for regeneration at all, which is why issues
like #1246 slide by without us noticing. With this, we will run a regen
on every test during `ninja test` after it has been compiled. This will
not affect test times too much since the regen will not rebuild anything
at all since there have been no source changes.
2016-12-23 19:07:45 +02:00
Jussi Pakkanen
a2528a8816
Merge pull request #1233 from mesonbuild/wip/ignatenko/code-style
...
Trivial cleanups in code
2016-12-21 00:09:44 +02:00
Jussi Pakkanen
701e393261
Make cross tests use same framework as regular tests.
2016-12-20 20:35:29 +02:00
Igor Gnatenko
9ffc0d2f89
tree-wide: remove blank lines at EOF
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-19 18:34:06 +01:00
Igor Gnatenko
1590e185f4
run_project_test: don't import sys twice
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-19 18:33:58 +01:00
Nirbheek Chauhan
c854ae1801
run_project_tests.py: Also do ninja clean on tests
...
This will catch things like #1220
2016-12-19 20:52:14 +05:30
Jussi Pakkanen
4d2a2802b5
Pass --no-rebuild arg when running inprocess to prevent Ninja vomit.
2016-12-04 00:03:30 +02:00
Jussi Pakkanen
ed33e64c71
Guard against cpu_count failing.
2016-12-02 22:40:54 +02:00
Jussi Pakkanen
c7ddce163f
All testing is now in mesontest.py, which simplifies a lot of stuff.
2016-11-18 22:10:22 +02:00
Jussi Pakkanen
dc10945ad7
Merge pull request #995 from centricular/more-appveyor-builds
...
appveyor.yml: Test more than just MSVC2010 + Ninja on x86
2016-11-09 15:00:46 -05:00
Jussi Pakkanen
5603f90287
Allow tests to mark themselves as skipped during runtime.
2016-11-09 15:00:28 -05:00
Nirbheek Chauhan
a90af371f6
project tests: Fix appveyor overwriting the platform env variable
...
There is no way to do this in the .appveyor.yml file since it seems that
the appveyor environment is forcibly written after each cmd command that
is run.
2016-11-10 00:40:16 +05:30
Nirbheek Chauhan
da782c62df
project tests: Skip lang-specific tests based on backend
...
XCode and Visual Studio are likely never going to support these
languages, so don't fail if the compiler happens to be in the PATH.
2016-11-10 00:40:16 +05:30
Nirbheek Chauhan
377fe51003
project tests: Require both javac and java for Java tests
2016-11-09 02:38:10 +05:30
Nirbheek Chauhan
b08c8c7b77
run_tests.py: Add support for tests that fail at build-time or test-time
2016-10-14 19:13:21 +05:30
Jussi Pakkanen
c7936f6819
Run unittests.
2016-10-08 07:44:19 -04:00