Skip to content

Commit

Permalink
Merge pull request #814 from SaganBolliger/208-remove-tester-class
Browse files Browse the repository at this point in the history
Remove tester class
  • Loading branch information
scottpurdy committed Jan 6, 2016
2 parents 937fce4 + b6bc980 commit 621a1b7
Show file tree
Hide file tree
Showing 21 changed files with 1,939 additions and 2,494 deletions.
20 changes: 0 additions & 20 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,6 @@ set(LIB_STATIC_NUPICCORE_SRCS
nupic/regions/VectorFile.cpp
nupic/regions/VectorFileEffector.cpp
nupic/regions/VectorFileSensor.cpp
nupic/test/Tester.cpp
nupic/types/BasicType.cpp
nupic/types/Fraction.cpp
nupic/utils/LoggingException.cpp
Expand Down Expand Up @@ -614,7 +613,6 @@ add_executable(${EXECUTABLE_GTESTS}
test/unit/os/RegexTest.cpp
test/unit/os/TimerTest.cpp
test/unit/py_support/PyHelpersTest.cpp
test/unit/test/TesterTest.cpp
test/unit/types/BasicTypeTest.cpp
test/unit/types/ExceptionTest.cpp
test/unit/types/FractionTest.cpp
Expand All @@ -632,24 +630,6 @@ add_custom_target(tests_unit
DEPENDS ${EXECUTABLE_GTESTS}
VERBATIM)
add_dependencies(${EXECUTABLE_GTESTS} ${LIB_STATIC_GTEST} ${COMMON_LIBS})
set(TEST_HEADERS
test/unit/math/DenseTensorUnitTest.hpp
test/unit/math/DomainUnitTest.hpp
test/unit/math/IndexUnitTest.hpp
test/unit/math/MathsTest.hpp
test/unit/math/SparseMatrix01UnitTest.hpp
test/unit/math/SparseMatrixUnitTest.hpp
test/unit/math/SparseTensorUnitTest.hpp
test/unit/test/TesterTest.hpp)
set(tests_file_content "")
set(headers_file_content "")
foreach(file ${TEST_HEADERS})
get_filename_component(test ${file} NAME_WE)
set(tests_file_content "${tests_file_content}ADD_TEST(${test});\n")
set(headers_file_content "${headers_file_content}#include \"${file}\"\n")
endforeach()
file(WRITE "${PROJECT_BINARY_DIR}/AddTests.hpp" "${tests_file_content}")
file(WRITE "${PROJECT_BINARY_DIR}/AddTestHeaders.hpp" "${headers_file_content}")

#
# tests_all just calls other targets
Expand Down
87 changes: 0 additions & 87 deletions src/nupic/test/Tester.cpp

This file was deleted.

Loading

0 comments on commit 621a1b7

Please sign in to comment.