diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-10-11 15:51:11 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-10-21 16:10:45 +0300 |
commit | eb3c203d4ed65a91b818c42876bf2f23784aa9c5 (patch) | |
tree | 9434f8e3ef53dc7528aab5dc1f3e91247f6b551e /render-test/render_test.cpp | |
parent | 8bdd8ec67058b0290d56d4b0b6b01ab84e4c2006 (diff) | |
download | qtlocation-mapboxgl-eb3c203d4ed65a91b818c42876bf2f23784aa9c5.tar.gz |
[test runner] Adjust memory metrics test results
Diffstat (limited to 'render-test/render_test.cpp')
-rw-r--r-- | render-test/render_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/render-test/render_test.cpp b/render-test/render_test.cpp index bac193237d..ac54d08ca0 100644 --- a/render-test/render_test.cpp +++ b/render-test/render_test.cpp @@ -125,6 +125,9 @@ int runRenderTests(int argc, char** argv) { color = "red"; stats.erroredTests++; printf(ANSI_COLOR_RED "* errored %s" ANSI_COLOR_RESET "\n", id.c_str()); + if (!metadata.errorMessage.empty()) { + printf(ANSI_COLOR_RED "* error: %s" ANSI_COLOR_RESET "\n", metadata.errorMessage.c_str()); + } } else { status = "failed"; color = "red"; |