unit test global cleanup

This commit is contained in:
Matthew Kennedy 2024-04-26 02:02:49 -07:00
parent 47ee857699
commit 80d9fd41aa
3 changed files with 2 additions and 5 deletions

View File

@ -38,13 +38,10 @@ extern "C"
#define CH_FREQUENCY 1000
#define NO_CACHE
typedef int bool_t;
typedef uint32_t systime_t;
void chDbgAssert(int c, char *msg, void *arg);
#define TICKS_IN_MS 100
#define chDbgCheck(x, y) chDbgAssert(x, y, NULL)
#ifdef __cplusplus

View File

@ -8,7 +8,7 @@
#include "pch.h"
#include "global_execution_queue.h"
bool_t debugSignalExecutor = false;
bool debugSignalExecutor = false;
TestExecutor::~TestExecutor() {
// Flush the queue and reset all scheduling_s at the end of a test's execution

View File

@ -170,7 +170,7 @@ static void assertREqualsM(const char *msg, void *expected, void *actual) {
assertEqualsM(msg, (float)(uint64_t)expected, (float)(uint64_t)actual);
}
extern bool_t debugSignalExecutor;
extern bool debugSignalExecutor;
TEST(misc, testRpmCalculator) {
EngineTestHelper eth(engine_type_e::FORD_INLINE_6_1995);