diff --git a/test/main.cpp b/test/main.cpp index 3cdbcd7..15c0b2f 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -25,4 +25,8 @@ int main() dcdc_tests(); device_status_tests(); load_tests(); + +#ifdef CUSTOM_TESTS + custom_tests(); +#endif } diff --git a/test/tests.h b/test/tests.h index 1eb8f6d..2d79ebe 100644 --- a/test/tests.h +++ b/test/tests.h @@ -20,3 +20,8 @@ void dcdc_tests(); void device_status_tests(); void load_tests(); + +// activate this via build_flags in platformio.ini or custom.ini +#ifdef CUSTOM_TESTS +void custom_tests(); +#endif