|
@@ -296,6 +296,9 @@ add_sdl_test_executable(testoverlay NEEDS_RESOURCES TESTUTILS SOURCES testoverla
|
|
add_sdl_test_executable(testplatform NONINTERACTIVE SOURCES testplatform.c)
|
|
add_sdl_test_executable(testplatform NONINTERACTIVE SOURCES testplatform.c)
|
|
add_sdl_test_executable(testpower NONINTERACTIVE SOURCES testpower.c)
|
|
add_sdl_test_executable(testpower NONINTERACTIVE SOURCES testpower.c)
|
|
add_sdl_test_executable(testfilesystem NONINTERACTIVE SOURCES testfilesystem.c)
|
|
add_sdl_test_executable(testfilesystem NONINTERACTIVE SOURCES testfilesystem.c)
|
|
|
|
+if(WIN32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
|
|
|
+ add_sdl_test_executable(testfilesystem_pre SOURCES testfilesystem_pre.c NONINTERACTIVE NONINTERACTIVE_TIMEOUT 60)
|
|
|
|
+endif()
|
|
add_sdl_test_executable(testrendertarget NEEDS_RESOURCES TESTUTILS SOURCES testrendertarget.c)
|
|
add_sdl_test_executable(testrendertarget NEEDS_RESOURCES TESTUTILS SOURCES testrendertarget.c)
|
|
add_sdl_test_executable(testscale NEEDS_RESOURCES TESTUTILS SOURCES testscale.c)
|
|
add_sdl_test_executable(testscale NEEDS_RESOURCES TESTUTILS SOURCES testscale.c)
|
|
add_sdl_test_executable(testsem NONINTERACTIVE NONINTERACTIVE_ARGS 10 NONINTERACTIVE_TIMEOUT 30 SOURCES testsem.c)
|
|
add_sdl_test_executable(testsem NONINTERACTIVE NONINTERACTIVE_ARGS 10 NONINTERACTIVE_TIMEOUT 30 SOURCES testsem.c)
|
|
@@ -504,6 +507,10 @@ foreach(TEST ${SDL_TEST_EXECUTABLES})
|
|
endif()
|
|
endif()
|
|
endforeach()
|
|
endforeach()
|
|
|
|
|
|
|
|
+if(TARGET testfilesystem_pre)
|
|
|
|
+ set_property(TEST testfilesystem APPEND PROPERTY DEPENDS testfilesystem_pre)
|
|
|
|
+endif()
|
|
|
|
+
|
|
if(SDL_INSTALL_TESTS)
|
|
if(SDL_INSTALL_TESTS)
|
|
if(RISCOS)
|
|
if(RISCOS)
|
|
install(
|
|
install(
|