mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-10 03:23:23 +09:00
53 lines
3.1 KiB
CMake
53 lines
3.1 KiB
CMake
# Included by CTest after all GoogleTest discovery files (ID-53).
|
|
# CTest appends ENVIRONMENT here; keep all previously discovered lane settings.
|
|
file(MAKE_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/split-logs")
|
|
# P5b t2's two lanes ride the same rule: one private log path per entry, or
|
|
# SplitLogPaths.PrivateAndDistinct is red for them (ID-53).
|
|
# P5e vi's client-array lane joins the same list for the same reason: its two entries are the
|
|
# only ones that can reach Fatal{UnmigratedVerb, "DrawArrays+CLIENT_ARRAYS"} once ra publishes
|
|
# the caps bit, and a shared log file is a marker nobody can attribute.
|
|
# P5e pa's strict lane joins it for the same reason as vi's: its four entries exist to CARRY a
|
|
# Fatal marker (the two program rows), and a shared log file is a marker nobody can attribute.
|
|
foreach(entry IN LISTS MGL_SPLIT_CLEAR_TESTS MGL_SPLIT_TRIANGLE_TESTS MGL_SPLIT_PMAP_TESTS
|
|
MGL_SPLIT_T2_TESS_TESTS MGL_SPLIT_T2_XFB_TESTS MGL_SPLIT_SYNC_TESTS
|
|
MGL_SPLIT_VI_CLIENT_ARRAY_TESTS
|
|
MGL_SPLIT_PA_STRICT_DRAW_TESTS MGL_SPLIT_PA_STRICT_DISPATCH_TESTS)
|
|
set_tests_properties("${entry}" PROPERTIES ENVIRONMENT
|
|
"MOBILEGL_LOG_FILE_PATH=@CMAKE_CURRENT_BINARY_DIR@/split-logs/${entry}.log")
|
|
endforeach()
|
|
foreach(scenario @MGL_SPLIT_SMALL_RING_SCENARIOS@)
|
|
foreach(entry IN LISTS MGL_SPLIT_SMALL_${scenario}_TESTS)
|
|
set_tests_properties("${entry}" PROPERTIES ENVIRONMENT
|
|
"MOBILEGL_LOG_FILE_PATH=@CMAKE_CURRENT_BINARY_DIR@/split-logs/${entry}.log")
|
|
endforeach()
|
|
endforeach()
|
|
# P5b d1's split entries: the same private, distinct log per entry.
|
|
foreach(scenario @MGL_SPLIT_D1_SCENARIOS@)
|
|
foreach(entry IN LISTS MGL_SPLIT_D1_${scenario}_TESTS)
|
|
set_tests_properties("${entry}" PROPERTIES ENVIRONMENT
|
|
"MOBILEGL_LOG_FILE_PATH=@CMAKE_CURRENT_BINARY_DIR@/split-logs/${entry}.log")
|
|
endforeach()
|
|
endforeach()
|
|
|
|
# P5e mv's five tier-pinned lanes, the same rule for the same reason - and here it also repairs
|
|
# the addendum §4 blind spot for them: these entries carry a third name segment, so the strict
|
|
# census cannot re-derive their MOBILEGL_ESPRYT_MULTIDRAW_MODE, but a private log per entry means
|
|
# its marker can be read where the LANE wrote it instead of from a re-run that lost the pin.
|
|
foreach(tier @MGL_SPLIT_MULTIDRAW_TIERS@)
|
|
foreach(entry IN LISTS MGL_SPLIT_MULTIDRAW_${tier}_TESTS)
|
|
set_tests_properties("${entry}" PROPERTIES ENVIRONMENT
|
|
"MOBILEGL_LOG_FILE_PATH=@CMAKE_CURRENT_BINARY_DIR@/split-logs/${entry}.log")
|
|
endforeach()
|
|
endforeach()
|
|
|
|
# P5b package i1's four scenarios, the same shape as the small-ring loop above: every
|
|
# DirectGLES.Split. entry owns exactly one absolute log path and shares it with nobody, which
|
|
# is what SplitLogPaths.PrivateAndDistinct checks over the discovered set.
|
|
foreach(scenario @MGL_SPLIT_I1_SCENARIOS@)
|
|
foreach(entry IN LISTS MGL_SPLIT_I1_${scenario}_TESTS)
|
|
set_tests_properties("${entry}" PROPERTIES ENVIRONMENT
|
|
"MOBILEGL_LOG_FILE_PATH=@CMAKE_CURRENT_BINARY_DIR@/split-logs/${entry}.log")
|
|
endforeach()
|
|
endforeach()
|
|
# PersistentMapArm retains its existing private path and RESOURCE_LOCK: b1 reads it.
|