Rémi Verschelde 3 лет назад
Родитель
Сommit
eb9fd57f76
3 измененных файлов с 352 добавлено и 218 удалено
  1. 3 4
      tests/test_macros.h
  2. 5 2
      thirdparty/README.md
  3. 344 212
      thirdparty/doctest/doctest.h

+ 3 - 4
tests/test_macros.h

@@ -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.

+ 5 - 2
thirdparty/README.md

@@ -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

Разница между файлами не показана из-за своего большого размера
+ 344 - 212
thirdparty/doctest/doctest.h


Некоторые файлы не были показаны из-за большого количества измененных файлов