new defines added

This commit is contained in:
Robin Müller 2020-10-28 22:49:19 +01:00
parent b860d8bce7
commit a9b4874904
3 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@
#define FSFW_UNITTEST_CONFIG_TESTSCONFIG_H_
#define CUSTOM_UNITTEST_RUNNER 0
#endif /* FSFW_UNITTEST_CONFIG_TESTSCONFIG_H_ */

View File

@ -11,6 +11,8 @@
#define CATCH_CONFIG_RUNNER
#include <catch2/catch.hpp>
#if CUSTOM_UNITTEST_RUNNER == 0
extern int customSetup();
int main( int argc, char* argv[] ) {
@ -23,5 +25,7 @@ int main( int argc, char* argv[] ) {
return result;
}
#endif
#endif

View File

@ -1,4 +1,5 @@
#include "CatchDefinitions.h"
#include "../config/cdatapool/dataPoolInit.h"
#include "../config/objects/Factory.h"