Skip to content

Commit 23de937

Browse files
committed
testqsort: use SDLTest_TestSuite
1 parent 97e2951 commit 23de937

File tree

2 files changed

+465
-67
lines changed

2 files changed

+465
-67
lines changed

test/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,9 @@ add_sdl_test_executable(testrendercopyex NEEDS_RESOURCES TESTUTILS SOURCES testr
420420
add_sdl_test_executable(testmessage SOURCES testmessage.c)
421421
add_sdl_test_executable(testdisplayinfo SOURCES testdisplayinfo.c)
422422
add_sdl_test_executable(testqsort NONINTERACTIVE SOURCES testqsort.c)
423+
if(EMSCRIPTEN)
424+
target_link_options(testqsort PRIVATE -sALLOW_MEMORY_GROWTH)
425+
endif()
423426
add_sdl_test_executable(testbounds NONINTERACTIVE SOURCES testbounds.c)
424427
add_sdl_test_executable(testcustomcursor SOURCES testcustomcursor.c)
425428
add_sdl_test_executable(testvulkan NO_C90 SOURCES testvulkan.c)

0 commit comments

Comments
 (0)