diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-07-16 02:03:33 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-07-16 02:03:33 +0200 |
commit | b31e4bc16d1df62b50c6f77a77041f9e7b6c906d (patch) | |
tree | 024c74c13d918aa6bde302aab6836fa33607613c /flatcc/test/CMakeLists.txt | |
parent | ba6815ef8fb8ae472412b5af2837a7caba2799c2 (diff) | |
parent | 5a40295c4cf0af5ea8da9ced04a4ce7d3621a080 (diff) |
Merge commit '5a40295c4cf0af5ea8da9ced04a4ce7d3621a080' as 'flatcc'
Diffstat (limited to 'flatcc/test/CMakeLists.txt')
-rw-r--r-- | flatcc/test/CMakeLists.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/flatcc/test/CMakeLists.txt b/flatcc/test/CMakeLists.txt new file mode 100644 index 0000000..59a6132 --- /dev/null +++ b/flatcc/test/CMakeLists.txt @@ -0,0 +1,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() |