From 788369493d4acb8cf048633f7449a8f3e41dcd43 Mon Sep 17 00:00:00 2001 From: Chris Friedt Date: Sat, 5 Apr 2025 08:22:40 -0400 Subject: [PATCH] tests: posix: timer: do not skip tests I just happened to try to run this testsuite manually today and noticed that it was being skipped due to a copy-paste error. This test was migrated from tests/posix/common, where tests were skipped for non-dynamic threads, since it would mostly duplicate tests that had already been run. However, while migrating, the condition to skip tests was mistakenly left in when it should not have been. Signed-off-by: Chris Friedt --- tests/posix/timers/src/timer.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/posix/timers/src/timer.c b/tests/posix/timers/src/timer.c index faad7f659fc..1d4936d6a4b 100644 --- a/tests/posix/timers/src/timer.c +++ b/tests/posix/timers/src/timer.c @@ -154,14 +154,4 @@ static void after(void *arg) } } -static void before(void *arg) -{ - ARG_UNUSED(arg); - - if (!IS_ENABLED(CONFIG_DYNAMIC_THREAD)) { - /* skip redundant testing if there is no thread pool / heap allocation */ - ztest_test_skip(); - } -} - -ZTEST_SUITE(posix_timers, NULL, NULL, before, after, NULL); +ZTEST_SUITE(posix_timers, NULL, NULL, NULL, after, NULL);