Jussi Pakkanen
edd61dcf81
When killing a frozen process, take all its children with it. Closes #377 .
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
66c01401de
Moved scripts in the module and started work to run them via the main meson command.
9 years ago
Jussi Pakkanen
a5508d3fd3
Can run most of test suite (with hacks).
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Jussi Pakkanen
670d0ed929
Print output of failed tests. Closes ##347.
9 years ago
Jussi Pakkanen
8bb2586ae4
Some text format fixes.
9 years ago
Jussi Pakkanen
b3d61beb2d
A test can be part of multiple suites.
9 years ago
Jussi Pakkanen
70695bead4
Added possibility to have multiple test suites so you can run only a subset of tests. Closes #325 .
9 years ago
Jussi Pakkanen
23c6de3461
Can specify a working directory for tests. Closes #326 .
9 years ago
Jussi Pakkanen
47cb6c1030
More robust output decoding. Closes #289 .
9 years ago
Jussi Pakkanen
9d559b2b39
More robust windows detection and more logs.
9 years ago
Jussi Pakkanen
b08e2589d3
Parentheses are unnecessary.
9 years ago
Jussi Pakkanen
aada473713
Align test output text better.
9 years ago
Jussi Pakkanen
b7e391ead4
Simulate rpath on windows by adding dll subdirectories to global path in tests.
9 years ago
Jussi Pakkanen
fa74ef4c57
Added timeout kwarg to tests.
9 years ago
Igor Gnatenko
5b59951658
meson_test: fix bad-continuation
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
cf0bd77ddd
Do not invoke linker via cmd /c on Windows.
10 years ago
Jussi Pakkanen
8be84a4a7c
Some more cross tweaking.
10 years ago
Jussi Pakkanen
572587f5ce
Fix cross compilation tests.
10 years ago
Jussi Pakkanen
ff7c8b1647
Run unit tests in-process too for extra speed.
10 years ago
Hemmo Nieminen
84581a69ed
Apply a cosmetic fix for tests' output.
...
Always leave at least two spaces between the test's name and the result of the
test (even if the test's name's lenght exeeds 40 chracters).
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Jussi Pakkanen
e46c1743ce
Allow use of external test executables. Closes #89 .
10 years ago
Jussi Pakkanen
d289887b1b
Add should_fail kwarg to test to indicate tests that should fail.
10 years ago
Jussi Pakkanen
4745b07e99
And finally use argparse in meson_test. Closes #47 .
10 years ago
Jussi Pakkanen
b161e64d7d
Print message when no tests are defined.
10 years ago
Jussi Pakkanen
525f0ae6d2
Harmonised copyright declarations.
10 years ago
Jussi Pakkanen
a4d867b805
Print test command lines to logs.
10 years ago
Jussi Pakkanen
b97a8c82e7
Can specify Valgrind command line arguments.
10 years ago
Jussi Pakkanen
fcbe689561
Check if executables need to be run with Mono.
10 years ago
Jussi Pakkanen
c4860ff60f
Updated copyright years.
10 years ago
Jussi Pakkanen
a5863477f8
Kill end of line whitespace dead.
10 years ago
Jussi Pakkanen
0f98361117
JSON test output is now one line per test case.
11 years ago
Jussi Pakkanen
ba1ef71f11
Print test results in JSON.
11 years ago
Jussi Pakkanen
bc3018195e
Generate command to run tests with XCode.
11 years ago
Jussi Pakkanen
a2cb207762
Run Java tests as part of test suite.
11 years ago
Jussi Pakkanen
7005729418
Pass parent envvars to test executables.
11 years ago
Jussi Pakkanen
92ff302a14
Fixed cross compilation back up.
11 years ago
Jussi Pakkanen
11cfb3ce22
Can set test cmd arguments and environment variables.
11 years ago
Jussi Pakkanen
75edffd34d
Properly detect failing tests.
11 years ago
Jussi Pakkanen
ff1ac7eed1
Transfer test parallelism data from source to test runner.
11 years ago
Jussi Pakkanen
26bf87d1dc
Mixed parallel and non-parallel tests are possible.
11 years ago
Jussi Pakkanen
d6f94cc6ce
Run test suite in parallel.
11 years ago
Jussi Pakkanen
9849f43812
Refactoring to make way for parallel test runs.
11 years ago
Jussi Pakkanen
696f72da1b
Skip tests for cross compilation when they can not be run.
11 years ago
Jussi Pakkanen
6780050cbf
Run cross build tests with exe wrapper.
11 years ago
Jussi Pakkanen
fee6b88452
Padding fine tuning.
11 years ago
Jussi Pakkanen
095f444079
Even prettier print.
11 years ago
Jussi Pakkanen
fba84a46a1
Prettyified test runner output.
11 years ago
Jussi Pakkanen
3b698f40df
Print test name rather than the path to executable.
11 years ago