mirror of https://github.com/PCSX2/pcsx2.git
CMake: Output test logs on failure
This commit is contained in:
parent
b90405a7d2
commit
58959b6114
|
@ -1,6 +1,6 @@
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_custom_target(unittests)
|
add_custom_target(unittests)
|
||||||
add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND})
|
add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure)
|
||||||
|
|
||||||
macro(add_pcsx2_test target)
|
macro(add_pcsx2_test target)
|
||||||
add_executable(${target} EXCLUDE_FROM_ALL ${ARGN})
|
add_executable(${target} EXCLUDE_FROM_ALL ${ARGN})
|
||||||
|
|
Loading…
Reference in New Issue