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 | 5a40295c4cf0af5ea8da9ced04a4ce7d3621a080 (patch) | |
tree | cb21506e7b04d10b45d6066a0ee1655563d5d52b /test/CMakeLists.txt |
Squashed 'flatcc/' content from commit 473da2a
git-subtree-dir: flatcc
git-subtree-split: 473da2afa5ca435363f8c5e6569167aee6bc31c5
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..59a6132 --- /dev/null +++ b/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() |