mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
fix(agc): report agc_driver_f64_denorm_preserve_spirv as skipped when the build leaves F64FmaSubnormals out
agc_driver_f64_denorm_preserve_spirv runs agc_driver_f64_fma_subnormals_tests --verify-spv-denorm-mode, which is built from tests/execution/F64FmaSubnormals.cpp. When ANYPS5_AGC_EXECUTION_TESTS does not list F64FmaSubnormals, the target is built from ExecutionTestNotBuilt.cpp, which prints 'skipped, this build leaves the test out with ANYPS5_AGC_EXECUTION_TESTS' and exits with 77. Unlike the other registrations of execution tests, this one had no SKIP_RETURN_CODE, so ctest reported a failure. Set SKIP_RETURN_CODE 77; the verification mode of the real test never exits with 77.
This commit is contained in:
1 parent
4017310678
commit
9df129558e
1 file changed
+1
-1
@@ -2838,7 +2838,7 @@ if(BUILD_TESTING)
|
||||
ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>")
|
||||
endif()
|
||||
add_test(NAME agc_driver_f64_denorm_preserve_spirv COMMAND agc_driver_f64_fma_subnormals_tests --verify-spv-denorm-mode)
|
||||
set_tests_properties(agc_driver_f64_denorm_preserve_spirv PROPERTIES ENVIRONMENT "ANYPS5_NO_SHADER_CACHE=1" WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}")
|
||||
set_tests_properties(agc_driver_f64_denorm_preserve_spirv PROPERTIES ENVIRONMENT "ANYPS5_NO_SHADER_CACHE=1" SKIP_RETURN_CODE 77 WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}")
|
||||
if(WIN32)
|
||||
set_tests_properties(agc_driver_f64_denorm_preserve_spirv PROPERTIES ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>")
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user