Commit 8f092623 authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Dan Kalowsky
Browse files

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: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent 980afc8f
Loading
Loading
Loading
Loading
+4 −0
Changes for tests/lib/timespec_util/src/main.c: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -308,6 +308,8 @@ static const struct tospec {

ZTEST(timeutil_api, test_timespec_from_timeout)
{
	ztest_test_skip(); /* Provisionally disabled until #92158 is fixed */

	ARRAY_FOR_EACH(tospecs, i) {
		const struct tospec *const tspec = &tospecs[i];
		struct timespec actual;
@@ -327,6 +329,8 @@ ZTEST(timeutil_api, test_timespec_from_timeout)

ZTEST(timeutil_api, test_timespec_to_timeout)
{
	ztest_test_skip(); /* Provisionally disabled until #92158 is fixed */

	ARRAY_FOR_EACH(tospecs, i) {
		const struct tospec *const tspec = &tospecs[i];
		k_timeout_t actual;