mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 16:14:20 +01:00
Adjust prerequisites for tests in cmake
This commit is contained in:
parent
abc729e664
commit
d3a9166afe
@ -73,8 +73,12 @@ ADD_CUSTOM_TARGET(apidoc
|
|||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
if(ENABLE_TESTING)
|
if(ENABLE_TESTING)
|
||||||
|
find_package(PERL)
|
||||||
|
|
||||||
|
if(PERL_FOUND)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
|
||||||
|
if(UNIX)
|
||||||
ADD_CUSTOM_TARGET(covtest
|
ADD_CUSTOM_TARGET(covtest
|
||||||
COMMAND make test
|
COMMAND make test
|
||||||
COMMAND programs/test/selftest
|
COMMAND programs/test/selftest
|
||||||
@ -100,4 +104,6 @@ if(ENABLE_TESTING)
|
|||||||
COMMAND rm -f memcheck.log
|
COMMAND rm -f memcheck.log
|
||||||
COMMAND mv DartConfiguration.tcl.bak DartConfiguration.tcl
|
COMMAND mv DartConfiguration.tcl.bak DartConfiguration.tcl
|
||||||
)
|
)
|
||||||
|
endif(UNIX)
|
||||||
|
endif(PERL_FOUND)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user