mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-17 08:38:30 +09:00
[Test] (MG_Test, Wire): drive encoder to ring to decoder to applier for every flag class, both double-tailed rows, DrawVbos conditional tail and each R-2 Fatal arm
This commit is contained in:
@@ -34,3 +34,31 @@ foreach (test IN LISTS MOBILEGL_WIRE_TESTS)
|
|||||||
|
|
||||||
gtest_discover_tests(${test} DISCOVERY_TIMEOUT 30 PROPERTIES LABELS unit)
|
gtest_discover_tests(${test} DISCOVERY_TIMEOUT 30 PROPERTIES LABELS unit)
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
|
||||||
|
# P5 w1's G3 codec suite. It is registered on its own rather than in the list above because it
|
||||||
|
# links gtest, NOT gtest_main: the R-2 Fatal arms report through MGLOG_F + std::abort, so the
|
||||||
|
# cases that drive one fork and read the Fatal line back out of a log file the process names
|
||||||
|
# before anything logs - which needs a main() of its own (PipeInputsTest's shape). It also
|
||||||
|
# reaches MG_Pipe and MG_State, so it carries their include paths.
|
||||||
|
add_executable(PipeWireCodecTest PipeWireCodecTest.cpp)
|
||||||
|
|
||||||
|
target_include_directories(PipeWireCodecTest PRIVATE
|
||||||
|
${MGL_ROOT}/include
|
||||||
|
${MGL_ROOT}/MobileGL
|
||||||
|
${MGL_ROOT}/MobileGL/MG_Pipe
|
||||||
|
${MGL_ROOT}/3rdparty/flatbuffers/include
|
||||||
|
${MGL_ROOT}/3rdparty/xxHash
|
||||||
|
${MGL_ROOT}/3rdparty/Vulkan-Headers/include
|
||||||
|
${MGL_ROOT}/3rdparty/SPIRV-Reflect
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(PipeWireCodecTest PRIVATE
|
||||||
|
GTest::gtest
|
||||||
|
${LINK_LIBRARIES}
|
||||||
|
)
|
||||||
|
|
||||||
|
if (MSVC)
|
||||||
|
target_compile_options(PipeWireCodecTest PRIVATE /Zc:preprocessor)
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
gtest_discover_tests(PipeWireCodecTest DISCOVERY_TIMEOUT 30 PROPERTIES LABELS unit)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user