Re-implementation of CTest in Python.
Necessary to by-pass some small ctest shortcomings.
Called by qibuild.toc.Toc.test_project()
| Parameters: | test_name – If given, only run this test |
|---|
Always write some XML files in build-test/results (even if they were no tests to run at all)
| Returns: | (ok, summary) where ok is True if all
test passed, and summary is a nice summary
of what happened:ran 10 tests, 2 failures:
* test_foo
* test_bar
|
|---|