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 <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2025-04-05 08:22:40 -04:00 committed by Benjamin Cabé
commit 788369493d

View file

@ -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);