aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-05-01 10:07:30 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-05-04 11:33:19 -0700
commitdbe00dfe95e9630bd733a45f32076bab6ff80226 (patch)
tree2d4d78d0810374cfed28c43a9f62569fa559f6fe
parentbbbfccf0af26fd6f3b3970d6d9452ba8acd13128 (diff)
downloadmeson-dbe00dfe95e9630bd733a45f32076bab6ff80226.zip
meson-dbe00dfe95e9630bd733a45f32076bab6ff80226.tar.gz
meson-dbe00dfe95e9630bd733a45f32076bab6ff80226.tar.bz2
docs/unit-tests: Add information about output files
-rw-r--r--docs/markdown/Unit-tests.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/markdown/Unit-tests.md b/docs/markdown/Unit-tests.md
index b1f4cff..bd91dbb 100644
--- a/docs/markdown/Unit-tests.md
+++ b/docs/markdown/Unit-tests.md
@@ -235,3 +235,28 @@ If `meson test` does not work for you, you likely have a old version of
Meson. In that case you should call `mesontest` instead. If `mesontest`
doesn't work either you have a very old version prior to 0.37.0 and should
upgrade.
+
+## Test outputs
+
+Meson will write several different files with detailed results of running
+tests. These will be written into $builddir/meson-logs/
+
+### testlog.json
+
+This is not a proper json file, but a file containing one valid json object
+per line. This is file is designed so each line is streamed out as each test
+is run, so it can be read as a stream while the test harness is running
+
+### testlog.junit.xml
+
+This is a valid JUnit XML description of all tests run. It is not streamed
+out, and is written only once all tests complete running.
+
+When tests use the `tap` protocol each test will be recorded as a testsuite
+container, with each case named by the number of the result.
+
+When tests use the `gtest` protocol meson will inject arguments to the test
+to generate it's own JUnit XML, which meson will include as part of this XML
+file.
+
+*New in 0.55.0*