Commit Graph

15 Commits

Author SHA1 Message Date
Richard Kjerstadius ccaa61ec52 doc: Update coverage related documentation 2019-04-24 20:32:19 +02:00
Paolo Bonzini 91f847d308 mtest: implement TAP parsing
This provides an initial support for parsing TAP output.  It detects failures
and skipped tests without relying on exit code, as well as early termination
of the test due to an error or a crash.

For now, subtests are not recorded in the TestRun object.  However, because the
TAP output goes on stdout, it is printed by --print-errorlogs when a test does
not behave as expected.  Handling subtests as TestRuns, and serializing them
to JSON, can be added later.

The parser was written specifically for Meson, and comes with its own
test suite.

Fixes #2923.
2019-03-02 09:07:54 +01:00
Paolo Bonzini f2e513791e mtest: add support for hard errors
Hard errors also come from the GNU Automake test protocol.  They happen when
e.g., the set-up of a test case scenario fails, or when some
other unexpected or highly undesirable condition is encountered.

TAP will use them for parse errors too.  Add them to the exitcode protocol
first.
2019-03-02 09:07:54 +01:00
Alberto Sartori 5715284177 add documentation of meson test --print-errorlogs (#3809) [skip ci] 2018-06-29 13:00:19 +00:00
Alberto Sartori 717f7db67e improve suite of meson test (#3369) 2018-04-14 22:17:02 +03:00
Joel Klinghed 6266089866 Allow gcovr >= 3.1 to be used to generate html coverage report
Modern gcovr includes html generation support so if lcov and
genhtml are not available fallback to gcovr.

Kept lcov and genhtml as default so to not surprise existing
users of coverage-html with the different output of gcovr.

gcovr added html support in 3.0 but as there already is a test
for 3.1 because of the changes to -r/--rootdir I opted to only
allow html generation for >= 3.1 to keep things simple.
2018-02-27 21:58:05 +01:00
Eric Engestrom b690c26aa2 docs: remove references to `mesontest`
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
2017-10-31 10:10:57 +00:00
Johan Bjäreholt 102c1d09fe Replaced references to 'mesontest'
'mesontest' is deprecated and is now 'meson test'

Replaced all references to 'mesontest' with 'meson test' and added a note of the change in the bottom of the page
2017-09-22 21:29:20 +03:00
Luca Mattiello 5f6add79e0 Fix typo in Unit-tests.md 2017-07-22 19:03:39 +03:00
cagatay-y 79b0111018 Update link
Gcovr homepage is moved. Updated the link to the new URL.
2017-05-21 21:20:24 +03:00
Peter Hutterer ca924451ac Use American English: behaviour -> behavior 2017-05-04 22:09:27 +03:00
Elliott Sales de Andrade 40d7704cd5 doc: Use https links wherever possible. 2017-05-03 16:20:53 -04:00
Elliott Sales de Andrade b80d40c287 doc: Capitalize things more consistently.
Upper or lower case depending on the official spelling, or the more
consistent usage.
2017-05-03 16:20:51 -04:00
Peter Hutterer 7ec6e6df20 docs: add a short description for all top pages in the Manual 2017-05-03 21:00:36 +10:00
Thibault Saunier b371875e02 docs: Import the website and wiki and build with hotdoc
This allows us to more easily have the documentation in sync with
the source code as people will have to document new features etc
right at the time where they implement it.
2017-04-26 17:56:33 +03:00