unittests: Fixes incorrect argument

Turns out our unittests have been passing an incorrect argument for
years.
This commit is contained in:
Ryan Houdek committed 2024-09-14 23:15:52 -07:00
1 parent e190d029dc
commit 88e3164b55
8 files changed
+14 -14

No files matched your search

+4 -4
View File
@@ -51,9 +51,9 @@ foreach(ASM_SRC ${ASM_SOURCES})
set(TEST_ARGS)
if (_M_ARM_64 OR ENABLE_VIXL_SIMULATOR)
list(APPEND TEST_ARGS
"--no-silent -g -n 1 --no-multiblock" "jit_1" "jit"
"--no-silent -g -n 500 --no-multiblock" "jit_500" "jit"
"--no-silent -g -n 500 --multiblock" "jit_500_m" "jit"
"--no-silentlog -g -n 1 --no-multiblock" "jit_1" "jit"
"--no-silentlog -g -n 500 --no-multiblock" "jit_500" "jit"
"--no-silentlog -g -n 500 --multiblock" "jit_500_m" "jit"
)
endif()
@@ -61,7 +61,7 @@ foreach(ASM_SRC ${ASM_SOURCES})
set(CPU_CLASS Simulator)
elseif (_M_X86_64)
list(APPEND TEST_ARGS
"--no-silent -g" "host" "host"
"--no-silentlog -g" "host" "host"
)
endif()
+4 -4
View File
@@ -53,9 +53,9 @@ foreach(ASM_SRC ${ASM_SOURCES})
set(TEST_ARGS)
if (_M_ARM_64 OR ENABLE_VIXL_SIMULATOR)
list(APPEND TEST_ARGS
"--no-silent -g -n 1 --no-multiblock" "jit_1" "jit"
"--no-silent -g -n 500 --no-multiblock" "jit_500" "jit"
"--no-silent -g -n 500 --multiblock" "jit_500_m" "jit"
"--no-silentlog -g -n 1 --no-multiblock" "jit_1" "jit"
"--no-silentlog -g -n 500 --no-multiblock" "jit_500" "jit"
"--no-silentlog -g -n 500 --multiblock" "jit_500_m" "jit"
)
endif()
@@ -63,7 +63,7 @@ foreach(ASM_SRC ${ASM_SOURCES})
set(CPU_CLASS Simulator)
elseif (_M_X86_64)
list(APPEND TEST_ARGS
"--no-silent -g" "host" "host"
"--no-silentlog -g" "host" "host"
)
endif()
+1 -1
View File
@@ -65,7 +65,7 @@ function(AddTests Tests BinDirectory Bitness)
"guest"
"$<TARGET_FILE:FEXLoader>"
${THUNK_ARGS}
"-o" "stderr" "--no-silent" "-n" "500" "--"
"-o" "stderr" "--no-silentlog" "-n" "500" "--"
"${BIN_PATH}")
if (_M_X86_64 AND NOT TEST_NAME STREQUAL "thunk_testlib")
+1 -1
View File
@@ -18,7 +18,7 @@ foreach(POSIX_TEST ${POSIX_TESTS})
"${TEST_NAME}"
"guest"
"${CMAKE_BINARY_DIR}/Bin/FEXLoader"
"-o" "stderr" "--no-silent" "-n" "500" "--"
"-o" "stderr" "--no-silentlog" "-n" "500" "--"
"${POSIX_TEST}")
set_property(TEST "${TEST_NAME}.jit.posix" APPEND PROPERTY SKIP_RETURN_CODE 125)
endforeach()
@@ -4,7 +4,7 @@ function(AddThunksTest Bin ThunksFile)
set (ARGS
"-t" "${CMAKE_INSTALL_PREFIX}/lib/fex-emu/HostThunks"
"-j" "${CMAKE_INSTALL_PREFIX}/share/fex-emu/GuestThunks"
"-o" "stderr" "--no-silent" "-n" "500"
"-o" "stderr" "--no-silentlog" "-n" "500"
)
if (NOT ThunksFile)
set (TEST_NAME ThunkFunctionalTest-NoThunks-${Bin})
+1 -1
View File
@@ -18,7 +18,7 @@ foreach(TEST ${TESTS})
"${TEST_NAME}"
"guest"
"${CMAKE_BINARY_DIR}/Bin/FEXLoader"
"-o" "stderr" "--no-silent" "-n" "500" "--"
"-o" "stderr" "--no-silentlog" "-n" "500" "--"
"${TEST}")
set_property(TEST "${TEST_NAME}.jit.gcc-target-32" APPEND PROPERTY SKIP_RETURN_CODE 125)
endforeach()
+1 -1
View File
@@ -18,7 +18,7 @@ foreach(TEST ${TESTS})
"${TEST_NAME}"
"guest"
"${CMAKE_BINARY_DIR}/Bin/FEXLoader"
"-o" "stderr" "--no-silent" "-n" "500" "--"
"-o" "stderr" "--no-silentlog" "-n" "500" "--"
"${TEST}")
set_property(TEST "${TEST_NAME}.jit.gcc-target-64" APPEND PROPERTY SKIP_RETURN_CODE 125)
endforeach()
+1 -1
View File
@@ -18,7 +18,7 @@ foreach(TEST ${TESTS})
"${TEST_NAME}"
"guest"
"${CMAKE_BINARY_DIR}/Bin/FEXLoader"
"-o" "stderr" "--no-silent" "-n" "500" "--"
"-o" "stderr" "--no-silentlog" "-n" "500" "--"
"${TEST}")
set_property(TEST "${TEST_NAME}.jit.gvisor" APPEND PROPERTY SKIP_RETURN_CODE 125)
endforeach()