Skip to content

Commit

Permalink
Merge pull request #8 from learning-chip/catch_test
Browse files Browse the repository at this point in the history
Enable and fix Catch test
  • Loading branch information
cheshmi authored Dec 19, 2022
2 parents da104fa + a86b41a commit da293bb
Show file tree
Hide file tree
Showing 4 changed files with 1,957 additions and 1,056 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,6 @@ if(LBC_BUILD_EXAMPLES)
add_subdirectory(example)
endif()

#if(LBC_BUILD_TESTS)
# add_subdirectory(Catch_tests)
#endif()
if(LBC_BUILD_TESTS)
add_subdirectory(Catch_tests)
endif()
4 changes: 2 additions & 2 deletions Catch_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ include_directories(
)

add_executable(Catch_tests
${Sparse_BLAS_SRC_FILES}
${Sparse_TRSV_SRC_FILES}
sptrsv_tests.cpp
)

target_include_directories(Catch_tests PRIVATE
${Sparse_BLAS_INC}
${Sparse_TRSV_INC}
)

target_link_libraries(Catch_tests
Expand Down
Loading

0 comments on commit da293bb

Please sign in to comment.