blob: 59a61323bf99efe446739d8f375f64740a7f9e8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Note: some files under source control may be tested with binary comparison.
# Under git such files are protected with the `.gitattributes` file.
# Incorrect line endings may lead to failed tests.
if (FLATCC_TEST)
if (FLATCC_CXX_TEST)
# This is tests is primarly for making sure C++ users can use
# generated FlatCC code. It fails for pre GCC 4.7 C++ because both
# stdint.h and stdalign.h are not sufficiently supported and it
# is not worth attempting to support in flatcc/portable.
add_subdirectory(monster_test_cpp)
endif()
add_subdirectory(cgen_test)
add_subdirectory(monster_test)
add_subdirectory(monster_test_solo)
add_subdirectory(monster_test_concat)
add_subdirectory(monster_test_prefix)
add_subdirectory(flatc_compat)
add_subdirectory(json_test)
add_subdirectory(emit_test)
add_subdirectory(load_test)
add_subdirectory(optional_scalars_test)
# Reflection can break during development, so it is necessary
# to disable until new reflection code generates cleanly.
if (FLATCC_REFLECTION)
add_subdirectory(reflection_test)
endif()
endif()
|