Skip to content

Commit 7883694

Browse files
cfriedtkartben
authored andcommitted
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 <[email protected]>
1 parent f5cf14c commit 7883694

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/posix/timers/src/timer.c

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,4 @@ static void after(void *arg)
154154
}
155155
}
156156

157-
static void before(void *arg)
158-
{
159-
ARG_UNUSED(arg);
160-
161-
if (!IS_ENABLED(CONFIG_DYNAMIC_THREAD)) {
162-
/* skip redundant testing if there is no thread pool / heap allocation */
163-
ztest_test_skip();
164-
}
165-
}
166-
167-
ZTEST_SUITE(posix_timers, NULL, NULL, before, after, NULL);
157+
ZTEST_SUITE(posix_timers, NULL, NULL, NULL, after, NULL);

0 commit comments

Comments
 (0)