[test-runner] Run render tests with metrics on linux
This commit is contained in:
@@ -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)
|
||||
|
||||
9
render-test/linux-manifest-probe-gfx-network.json
Normal file
9
render-test/linux-manifest-probe-gfx-network.json
Normal 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"
|
||||
}
|
||||
9
render-test/linux-manifest-probe-memory.json
Normal file
9
render-test/linux-manifest-probe-memory.json
Normal 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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
6
render-test/linux-query-manifest.json
Normal file
6
render-test/linux-query-manifest.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user