mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-28 01:18:31 +00:00
tests: add --allow-running-no-tests when running tests
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2268>
This commit is contained in:
parent
976d40f669
commit
953712fb96
|
@ -48,7 +48,7 @@ foreach(testname ${tests})
|
|||
add_executable(${testname} ${testname}.cpp)
|
||||
target_link_libraries(${testname} PRIVATE xrt-external-catch2)
|
||||
target_link_libraries(${testname} PRIVATE aux_util)
|
||||
add_test(NAME ${testname} COMMAND ${testname} --success)
|
||||
add_test(NAME ${testname} COMMAND ${testname} --success --allow-running-no-tests)
|
||||
endforeach()
|
||||
|
||||
# For tests that require more than just aux_util, link those other libs down here.
|
||||
|
|
Loading…
Reference in a new issue