cunity: parse_examples: test example files

Test parsing and printing example files
This commit is contained in:
Max Bruckner committed 2017-02-07 21:35:19 +01:00
1 parent 896e52255b
commit bb60d6def5
14 files changed
+458

No files matched your search

+2
View File
@@ -133,6 +133,8 @@ install(FILES ${PROJECT_BINARY_DIR}/cJSONConfig.cmake
option(ENABLE_CJSON_TEST "Enable building cJSON test" ON)
if(ENABLE_CJSON_TEST)
enable_testing()
set(TEST_CJSON cJSON_test)
add_executable("${TEST_CJSON}" test.c)
target_link_libraries("${TEST_CJSON}" "${CJSON_LIB}")