From 5eca0c99a14f1debf9ecfea74be8d7bf378f93d9 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Thu, 7 Sep 2023 11:28:50 +0200 Subject: [PATCH] fix --- src/main/main.c | 3 ++- test/remain.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/main.c b/src/main/main.c index e6c13df10..45957b2d1 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -1221,7 +1221,8 @@ void re_thread_enter(void) /* set only for non-re threads */ if (!thrd_equal(re->tid, thrd_current())) { - DEBUG_NOTICE("re_thread_enter: setting THREAD_ENTER to True\n"); + DEBUG_NOTICE("re_thread_enter:" + " setting THREAD_ENTER to True\n"); re_atomic_rlx_set(&re->thread_enter, true); } } diff --git a/test/remain.c b/test/remain.c index 3b93c5dc2..6ef4a8199 100644 --- a/test/remain.c +++ b/test/remain.c @@ -218,10 +218,10 @@ int test_remain(void) { int err = 0; -#if 0 - err = test_remain_thread(); + if (0) { + err = test_remain_thread(); TEST_ERR(err); -#endif + } err = test_remain_enterleave(); TEST_ERR(err);