diff options
author | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-07-26 14:46:44 +0300 |
---|---|---|
committer | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-07-26 17:41:46 +0300 |
commit | 60f53140b85748f6ce61c353facc15f45fd7ae4a (patch) | |
tree | 395e4ef4e22335cc772abe435092988185ae4677 /tests | |
parent | 9856c8fda45c080886603515320faec4858d46dd (diff) |
Enable support for C++ modules tests
Modules-specific tests can be written under respective module folders.
Each module should have "tests" folder created with the tests implemented
as `doctest` headers, so they can be collected by the buildsystem and
included directly in `tests/test_main.cpp` to be compiled.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_main.cpp b/tests/test_main.cpp index 91eff28f86..0fb9f2fcda 100644 --- a/tests/test_main.cpp +++ b/tests/test_main.cpp @@ -49,6 +49,8 @@ #include "test_string.h" #include "test_validate_testing.h" +#include "modules/modules_tests.gen.h" + #include "thirdparty/doctest/doctest.h" const char **tests_get_names() { |