1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
#
# Add tests based on external repositories
#
include(FetchContent)
FetchContent_Declare(
ringtest
GIT_REPOSITORY https://github.com/neuronsimulator/ringtest
GIT_TAG ee24c8
SOURCE_DIR ${PROJECT_SOURCE_DIR}/external/tests/ringtest)
FetchContent_Declare(
testcorenrn
GIT_REPOSITORY https://github.com/neuronsimulator/testcorenrn
GIT_TAG 41a6d7ea47551559cc89a71544a746a5d3c2a6b8
SOURCE_DIR ${PROJECT_SOURCE_DIR}/external/tests/testcorenrn)
FetchContent_Declare(
nrntest
GIT_REPOSITORY https://github.com/neuronsimulator/nrntest
GIT_TAG aa899cec3109a17d7484ed6edb6cc66712662075
SOURCE_DIR ${PROJECT_SOURCE_DIR}/external/tests/nrntest)
FetchContent_Declare(
reduced_dentate
GIT_REPOSITORY https://github.com/neuronsimulator/reduced_dentate
GIT_TAG 6aecc53021dbe1a1c23b20673163051143c168d9
SOURCE_DIR ${PROJECT_SOURCE_DIR}/external/tests/reduced_dentate)
FetchContent_Declare(
tqperf
GIT_REPOSITORY https://github.com/neuronsimulator/tqperf.git
GIT_TAG add46f2899f1cde55032aa63cda54f3941e81155
SOURCE_DIR ${PROJECT_SOURCE_DIR}/external/tests/tqperf)
FetchContent_MakeAvailable(nrntest reduced_dentate ringtest testcorenrn tqperf)
add_subdirectory(nrntest)
add_subdirectory(reduced_dentate)
add_subdirectory(ringtest)
add_subdirectory(testcorenrn)
# tqperf requires libcrypto library
find_package(OpenSSL)
if(OPENSSL_FOUND)
add_subdirectory(tqperf)
else()
message(STATUS "Skipping tqperf test as OpenSSL package not found")
endif()
if("channel-benchmark" IN_LIST NRN_ENABLE_MODEL_TESTS)
FetchContent_Declare(
channel-benchmark
GIT_REPOSITORY git@bbpgitlab.epfl.ch:hpc/channel-benchmark.git
GIT_TAG 85e282834ec04c48adbd4f38d04bbbce6fb99afc
SOURCE_DIR ${PROJECT_SOURCE_DIR}/external/tests/channel-benchmark)
FetchContent_MakeAvailable(channel-benchmark)
add_subdirectory(channel-benchmark)
endif()
if("olfactory" IN_LIST NRN_ENABLE_MODEL_TESTS)
FetchContent_Declare(
olfactory-bulb-3d
GIT_REPOSITORY https://github.com/HumanBrainProject/olfactory-bulb-3d.git
GIT_TAG b07b76dc08173fa4d6dce7ef5d05d559b54769ed
SOURCE_DIR ${PROJECT_SOURCE_DIR}/external/tests/olfactory-bulb-3d)
FetchContent_MakeAvailable(olfactory-bulb-3d)
add_subdirectory(olfactory-bulb-3d)
endif()
|