Skip to content

Commit

Permalink
Replace CppUnit by Catch2.
Browse files Browse the repository at this point in the history
  • Loading branch information
kouchy committed May 31, 2018
1 parent 95de17b commit 80918dd
Show file tree
Hide file tree
Showing 172 changed files with 24,823 additions and 17,003 deletions.
13 changes: 3 additions & 10 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,9 @@ set (EXECUTABLE_OUTPUT_PATH bin/)
# include MIPP headers
include_directories ("${CMAKE_CURRENT_SOURCE_DIR}/../src/")

# include Catch2 header
include_directories ("${CMAKE_CURRENT_SOURCE_DIR}/lib/Catch2/include/")

# Generate the source files list
file (GLOB_RECURSE source_files src/*)
add_executable(run_tests ${source_files})
#add_test(tests run_tests)

# Link with CPP Unit
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules/")
FIND_PACKAGE(CPPUNIT REQUIRED)

if (CPPUNIT_FOUND)
include_directories (${CPPUNIT_INCLUDE_DIR})
target_link_libraries (run_tests "${CPPUNIT_LIBRARIES}")
endif (CPPUNIT_FOUND)
1 change: 1 addition & 0 deletions tests/lib/Catch2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Catch2 (v2.2.2) from [GitHub](https://github.com/catchorg/Catch2).
Loading

0 comments on commit 80918dd

Please sign in to comment.