Renamed tests/ into test/

This commit is contained in:
Benoit Blanchon
2014-10-16 16:23:24 +02:00
parent 58f155e135
commit b847576bb4
14 changed files with 1196 additions and 1196 deletions

19
test/CMakeLists.txt Normal file
View File

@ -0,0 +1,19 @@
set(GTEST_DIR ../third-party/gtest-1.7.0)
file(GLOB_RECURSE INC_FILES ../include/*.h)
file(GLOB TESTS_FILES *.cpp)
include_directories(
../include
${GTEST_DIR}
${GTEST_DIR}/include)
add_executable(ArduinoJsonTests
${TESTS_FILES}
${INC_FILES}
${GTEST_DIR}/src/gtest-all.cc
${GTEST_DIR}/src/gtest_main.cc)
target_link_libraries(ArduinoJsonTests ArduinoJson)
add_test(ArduinoJsonTests ArduinoJsonTests)