mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-16 01:28:00 +00:00
176e608c6d
* add minunit tests * fix logging * ignore unexisting time service on embedded targets * fix warning, issue with printf * add exitcode * migrate to printf * indicate test by leds * add testing description * redesigned minunit tests to allow testing in separate files * add test step for local target * add failure test * add restore test_check * testing description Co-authored-by: rusdacent <rusdacentx0x08@gmail.com> Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
15 lines
No EOL
293 B
C
15 lines
No EOL
293 B
C
#pragma once
|
|
#include "minunit.h"
|
|
|
|
/* Misc. counters */
|
|
int minunit_run = 0;
|
|
int minunit_assert = 0;
|
|
int minunit_fail = 0;
|
|
int minunit_status = 0;
|
|
|
|
/* Timers */
|
|
double minunit_real_timer = 0;
|
|
double minunit_proc_timer = 0;
|
|
|
|
/* Last message */
|
|
char minunit_last_message[MINUNIT_MESSAGE_LEN]; |