[test runner] Adjust memory metrics test results

This commit is contained in:
Mikhail Pozdnyakov
2019-10-11 15:51:11 +03:00
parent 8bdd8ec670
commit eb3c203d4e
5 changed files with 62 additions and 5 deletions

View File

@@ -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";