Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StringEnumColumn testing #2780

Merged
merged 11 commits into from
Sep 18, 2017
Prev Previous commit
Next Next commit
Make test sources viewable in cmake generated projects
James Stone committed Aug 9, 2017
commit f6740f5d0b7e8a3643ba6fa209d1ebb15ddffcaf
12 changes: 11 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -66,6 +66,16 @@ set(LARGE_TESTS
large_tests/test_column_large.cpp
large_tests/test_strings.cpp)

set(REALM_TEST_HEADERS
fuzz_group.hpp
pthread_test.hpp
test.hpp
test_all.hpp
test_string_types.hpp
test_table_helper.hpp
testsettings.hpp
) # REALM_TEST_HEADERS

set(FUZZY_TESTS fuzz_group.cpp)

set(TESTS ${NORMAL_TESTS} ${LARGE_TESTS} ${FUZZY_TESTS})
@@ -92,7 +102,7 @@ else()
set(MAIN_FILE main.cpp)
endif()

add_executable(realm-tests ${TESTS} ${MAIN_FILE} ${REQUIRED_TEST_FILES})
add_executable(realm-tests ${TESTS} ${MAIN_FILE} ${REQUIRED_TEST_FILES} ${REALM_TEST_HEADERS})

if(CMAKE_GENERATOR STREQUAL Xcode)
set_target_properties(realm-tests PROPERTIES