mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-03 07:21:21 -07:00
cmake: exclude tests from running
Minimize special cases in cmake script, likely to be forgotten.
This commit is contained in:
parent
e374ae7eeb
commit
3398515dd4
@ -36,6 +36,9 @@ matrix:
|
||||
- pip install --user cpp-coveralls
|
||||
install:
|
||||
- sudo apt-get -y install libboost-{chrono,program-options,date-time,thread,system,filesystem,regex,serialization}1.58{-dev,.0}
|
||||
env:
|
||||
# exclude long-running and failing tests (#895)
|
||||
- ARGS=" -E 'coretests|libwallet_api_tests' "
|
||||
script:
|
||||
- make -j2 coverage
|
||||
after_success:
|
||||
|
@ -62,9 +62,7 @@ else ()
|
||||
FOLDER "${folder}")
|
||||
endif ()
|
||||
|
||||
if (NOT DEFINED ENV{TRAVIS})
|
||||
add_subdirectory(core_tests)
|
||||
endif ()
|
||||
add_subdirectory(core_tests)
|
||||
add_subdirectory(crypto)
|
||||
add_subdirectory(functional_tests)
|
||||
add_subdirectory(performance_tests)
|
||||
@ -73,9 +71,7 @@ add_subdirectory(unit_tests)
|
||||
add_subdirectory(difficulty)
|
||||
add_subdirectory(hash)
|
||||
add_subdirectory(net_load_tests)
|
||||
|
||||
# Disabled until issue #895 is resolved
|
||||
#add_subdirectory(libwallet_api_tests)
|
||||
add_subdirectory(libwallet_api_tests)
|
||||
|
||||
# add_subdirectory(daemon_tests)
|
||||
|
||||
@ -99,16 +95,12 @@ add_test(
|
||||
COMMAND hash-target-tests)
|
||||
|
||||
set(enabled_tests
|
||||
coretests
|
||||
difficulty
|
||||
hash
|
||||
performance_tests
|
||||
core_proxy
|
||||
unit_tests)
|
||||
|
||||
# Skip the core_tests in Travis-CI because they will take too long
|
||||
if (NOT DEFINED ENV{TRAVIS})
|
||||
list(APPEND enabled_tests coretests)
|
||||
endif()
|
||||
|
||||
add_custom_target(tests DEPENDS enabled_tests)
|
||||
set_property(TARGET tests PROPERTY FOLDER "${folder}")
|
||||
|
Loading…
Reference in New Issue
Block a user