Harden recording renderer CLI bounds
This commit is contained in:
@@ -367,6 +367,14 @@ if(TARGET pano_cli)
|
||||
LABELS "renderer;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"backend\":\"recording\".*\"width\":32.*\"height\":16.*\"commands\":8.*\"drawCommands\":1.*\"readbackCommands\":1.*\"readbackBytes\":2048")
|
||||
|
||||
add_test(NAME pano_cli_record_render_rejects_oversized_target
|
||||
COMMAND "${CMAKE_COMMAND}"
|
||||
-DPANO_CLI=$<TARGET_FILE:pano_cli>
|
||||
"-DEXPECTED_OUTPUT=texture byte size exceeds the configured limit"
|
||||
-P "${CMAKE_CURRENT_SOURCE_DIR}/cmake/expect_pano_cli_record_render_failure.cmake")
|
||||
set_tests_properties(pano_cli_record_render_rejects_oversized_target PROPERTIES
|
||||
LABELS "renderer;integration;desktop-fast")
|
||||
|
||||
add_test(NAME pano_cli_simulate_document_edits_smoke
|
||||
COMMAND pano_cli simulate-document-edits --width 128 --height 64)
|
||||
set_tests_properties(pano_cli_simulate_document_edits_smoke PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user