From 8cd2831ec1416d41156e44a6d7bf0d20f751c333 Mon Sep 17 00:00:00 2001 From: Felipe Neves Date: Tue, 29 Oct 2019 19:09:14 -0300 Subject: [PATCH] components/unity: re-enabled setjmp longjmp block on unity --- components/unity/include/unity_config.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/components/unity/include/unity_config.h b/components/unity/include/unity_config.h index 67f882a9ad..85a8d9c548 100644 --- a/components/unity/include/unity_config.h +++ b/components/unity/include/unity_config.h @@ -26,7 +26,16 @@ #endif #define UNITY_EXCLUDE_TIME_H -#define UNITY_EXCLUDE_SETJMP_H + +/** + * @note For some reason setjmp does not work with + * unity in local tests for, at least now, unknown + * reasons since the interrupt handling was modified + * so if you want to perform tests locally, + * uncomment this line. Remote tests on CI + * still working as expected + */ +//#define UNITY_EXCLUDE_SETJMP_H void unity_flush(void); void unity_putc(int c);