diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-07 13:30:48 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-13 10:09:55 +1000 |
commit | 42ee99ee4df13ce934bd969d23421c2aa606cb8f (patch) | |
tree | 029b5652b8f7e470e824f0b0b29252a720fdce53 /doc/tapping.dox | |
parent | c837cf8d783a7d2a4690c21349cb065921c60aad (diff) |
test: decouple our tests/test suites from the ones used by check
Check arranges the tests into suites and test cases (which then can have
multiple test functions). The primary feature for suites is the ability to
select them with environment variables and that the log messages are printed
per suite, not per test case.
We used the suites to distribute tests across the processes forked by the test
runner, but that also resulted in slow suites relying on timeouts (tap/dwt) to
take a lot longer than other suites and hold everything else up.
This patch basically drops the use of check test suites. Our test runner has a
--filter-group argument which selects on suite names, the log messages are
more useful if they immediately include the device and the test case name.
So we just save the test metatdata in our own struct and then assemble a
suite/test case on the fly for each test.
The advantage of this is that tests of the same suite are now distributed
across the forks so slow tests that rely on length timeouts are now run in
parallel. This brings the test runs down to under 6 min again.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc/tapping.dox')
0 files changed, 0 insertions, 0 deletions