Merge pull request #61120 from akien-mga/doctest-2.4.8

This commit is contained in:
Rémi Verschelde 2022-05-17 23:25:14 +02:00 committed by GitHub
commit 7e4a02d66c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 799 additions and 561 deletions

View file

@ -125,10 +125,9 @@ typedef void (*TestFunc)();
extern HashMap<String, TestFunc> *test_commands;
int register_test_command(String p_command, TestFunc p_function);
#define REGISTER_TEST_COMMAND(m_command, m_function) \
DOCTEST_GLOBAL_NO_WARNINGS(DOCTEST_ANONYMOUS(_DOCTEST_ANON_VAR_)) = \
register_test_command(m_command, m_function); \
DOCTEST_GLOBAL_NO_WARNINGS_END()
#define REGISTER_TEST_COMMAND(m_command, m_function) \
DOCTEST_GLOBAL_NO_WARNINGS(DOCTEST_ANONYMOUS(DOCTEST_ANON_VAR_), \
register_test_command(m_command, m_function))
// Utility macros to send an event actions to a given object
// Requires Message Queue and InputMap to be setup.

View file

@ -62,10 +62,13 @@ Files extracted from upstream source:
## doctest
- Upstream: https://github.com/onqtam/doctest
- Version: 2.4.4 (97d5a9447e66cd5e107b7a6c463be4a468a40496, 2020)
- Version: 2.4.8 (7b9885133108ae301ddd16e2651320f54cafeba7, 2022)
- License: MIT
Extracted from .zip provided. Extracted license and header only.
Files extracted from upstream source:
- `doctest/doctest.h` as `doctest.h`
- `LICENSE.txt`
## embree

File diff suppressed because it is too large Load diff