Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Dec 18, 2024
1 parent 1acfb21 commit cb06402
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -797,9 +797,14 @@ function(add_modlunit_test mod_file)
PARENT_SCOPE)
endfunction()
add_modlunit_test("${PROJECT_SOURCE_DIR}/test/pytest_coreneuron/unitstest.mod")
add_modlunit_test("${PROJECT_SOURCE_DIR}/src/nrnoc/hh.mod")
add_modlunit_test("${PROJECT_SOURCE_DIR}/src/nrnoc/stim.mod")
add_modlunit_test("${PROJECT_SOURCE_DIR}/src/nrnoc/pattern.mod")
if (NRN_ENABLE_CORENEURON OR NRN_ENABLE_MOD_COMPATIBILITY)
set(modfile_dir "modfiles/coreneuron")
else()
set(modfile_dir "modfiles/neuron")
endif()
add_modlunit_test("${PROJECT_SOURCE_DIR}/src/nrnoc/${modfile_dir}/hh.mod")
add_modlunit_test("${PROJECT_SOURCE_DIR}/src/nrnoc/${modfile_dir}/stim.mod")
add_modlunit_test("${PROJECT_SOURCE_DIR}/src/nrnoc/${modfile_dir}/pattern.mod")
add_modlunit_test("${PROJECT_SOURCE_DIR}/test/hoctests/rand.mod")
set_property(TEST modlunit_pattern PROPERTY WILL_FAIL ON)

Expand Down

0 comments on commit cb06402

Please sign in to comment.