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

View File

@@ -1 +1,19 @@
{"memory":[["after setZoom 0.9",33271,62],["end",40000,118],["start",0,0]]}
{
"memory": [
[
"after setZoom 0.9",
33271,
62
],
[
"end",
40000,
118
],
[
"start",
0,
0
]
]
}

View File

@@ -1 +1,19 @@
{"memory":[["after setZoom 0.9",33271,62],["end",60000,118],["start",0,0]]}
{
"memory": [
[
"after setZoom 0.9",
33271,
62
],
[
"end",
60000,
118
],
[
"start",
0,
0
]
]
}

View File

@@ -1 +1,19 @@
{"memory":[["after setZoom 0.9",33271,62],["end",47833,118],["start",0,0]]}
{
"memory": [
[
"after setZoom 0.9",
33271,
62
],
[
"end",
47833,
118
],
[
"start",
0,
0
]
]
}

View File

@@ -15,7 +15,7 @@
[
"wait"
],
[ "probeMemory", "after setZoom 0.9", 0.005 ],
[ "probeMemory", "after setZoom 0.9", 0.01 ],
[
"setLayerZoomRange",
"circle",
@@ -25,7 +25,7 @@
[
"wait"
],
[ "probeMemory", "end", 0.005 ],
[ "probeMemory", "end", 0.01 ],
[ "probeMemoryEnd" ]
]
}