Files
sentry-native/tests/unit/main.c
Arpad Borsos a940b550cc test: Move test suite into pytest (#153)
* test: Move unit tests to pytest, in preparation for integration tests

* try running python on CI

* Create a first integration test

* try making python tests work on windows

* deserialize envelope for tests

* feedback, and try running on windows

* make tests work correctly on windows

* review feedback
2020-03-02 11:20:33 +01:00

17 lines
346 B
C

#define SENTRY_TEST_DEFINE_MAIN
#include "sentry_testsupport.h"
#define XX(Name) void CONCAT(test_sentry_, Name)(void);
#include "tests.inc"
#undef XX
TEST_LIST = {
#define DECLARE_TEST(Name, Func) { Name, Func },
#define XX(Name) DECLARE_TEST(#Name, CONCAT(test_sentry_, Name))
#include "tests.inc"
#undef XX
#undef DECLARE_TEST
{ 0 }
};