Files
lightswitch/unittest/main.c
2018-10-28 12:47:42 +01:00

15 lines
287 B
C

#include "test.h"
int main() {
test_init();
test_buttons();
test_timespec();
LOG(LL_INFO, ("Tests run=%d (success=%d fail=%d)", test_count_total(), test_count_success(), test_count_fail()));
if (test_count_total() == test_count_success()) {
return 0;
}
return -1;
}