[test-runner] Run render tests with metrics on linux

This commit is contained in:
Juha Alanen
2019-11-25 18:16:03 +02:00
parent 0ba4b5c93f
commit 2e93f1e982
5 changed files with 46 additions and 6 deletions

View File

@@ -135,8 +135,24 @@ add_test(
--seed=${MBGL_RENDER_TEST_SEED}
)
add_test(
NAME mbgl-render-test-probes
COMMAND mbgl-render-test-runner tests --manifestPath=${MBGL_ROOT}/render-test/linux-probe-manifest.json
)
add_test(NAME mbgl-query-test COMMAND mbgl-render-test-runner query-tests --manifestPath=${MBGL_ROOT}/render-test/linux-manifest.json)
if(CMAKE_C_COMPILER MATCHES clang OR CMAKE_BUILD_TYPE MATCHES Debug)
add_test(
NAME mbgl-render-test-probe-unit-tests
COMMAND mbgl-render-test-runner tests --manifestPath=${MBGL_ROOT}/render-test/linux-probe-manifest.json
)
else()
add_test(
NAME mbgl-render-test-probe-gfx-network
COMMAND mbgl-render-test-runner render-tests --manifestPath=${MBGL_ROOT}/render-test/linux-manifest-probe-gfx-network.json
)
add_test(
NAME mbgl-render-test-probe-memory
COMMAND
mbgl-render-test-runner
render-tests
--manifestPath=${MBGL_ROOT}/render-test/linux-manifest-probe-memory.json
--filter=real-world
)
endif()
add_test(NAME mbgl-query-test COMMAND mbgl-render-test-runner query-tests --manifestPath=${MBGL_ROOT}/render-test/linux-query-manifest.json)

View File

@@ -0,0 +1,9 @@
{
"base_test_path":"../mapbox-gl-js/test/integration",
"expectation_paths":["expected/"],
"ignore_paths":["../platform/node/test/ignores.json", "../render-test/linux-ignores.json"],
"vendor_path":"../vendor",
"asset_path": "../mapbox-gl-js/test/integration",
"probes": ["probeGFX", "probeNetwork"],
"metric_path":"metrics/linux-gcc8"
}

View File

@@ -0,0 +1,9 @@
{
"base_test_path":"../mapbox-gl-js/test/integration",
"expectation_paths":["expected/"],
"ignore_paths":["../platform/node/test/ignores.json", "../render-test/linux-ignores.json"],
"vendor_path":"../vendor",
"asset_path": "../mapbox-gl-js/test/integration",
"probes": ["probeMemory"],
"metric_path":"metrics/linux-gcc8"
}

View File

@@ -1,7 +1,7 @@
{
"probe_test_path":".",
"expectation_paths":["expected/render-tests"],
"ignore_paths":["../render-test/linux-ignores.json", "../render-test/tests/should-fail.json"],
"ignore_paths":["../render-test/tests/should-fail.json"],
"vendor_path":"../vendor",
"asset_path": "../mapbox-gl-js/test/integration"
}

View File

@@ -0,0 +1,6 @@
{
"base_test_path":"../mapbox-gl-js/test/integration",
"ignore_paths":["../platform/node/test/ignores.json", "../render-test/linux-ignores.json"],
"vendor_path":"../vendor",
"asset_path": "../mapbox-gl-js/test/integration"
}