Skip to content

Commit 8f09262

Browse files
aescolardkalowsk
authored andcommitted
tests/lib/timespec_util: Skip two tests by now
These two (sub)tests assume the system tick period divides evenly all time interval values being tested, but this is not the case in general, and when it is not, these tests fail. Let's skip these 2 tests by now so we can release without a broken CI, and do not block other development while the tests themselves are being fixed. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
1 parent 980afc8 commit 8f09262

File tree

1 file changed

+4
-0
lines changed
  • tests/lib/timespec_util/src

1 file changed

+4
-0
lines changed

tests/lib/timespec_util/src/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ static const struct tospec {
308308

309309
ZTEST(timeutil_api, test_timespec_from_timeout)
310310
{
311+
ztest_test_skip(); /* Provisionally disabled until #92158 is fixed */
312+
311313
ARRAY_FOR_EACH(tospecs, i) {
312314
const struct tospec *const tspec = &tospecs[i];
313315
struct timespec actual;
@@ -327,6 +329,8 @@ ZTEST(timeutil_api, test_timespec_from_timeout)
327329

328330
ZTEST(timeutil_api, test_timespec_to_timeout)
329331
{
332+
ztest_test_skip(); /* Provisionally disabled until #92158 is fixed */
333+
330334
ARRAY_FOR_EACH(tospecs, i) {
331335
const struct tospec *const tspec = &tospecs[i];
332336
k_timeout_t actual;

0 commit comments

Comments
 (0)