Skip to content

Commit 4f0f6c9

Browse files
committed
Revert "debug: start investigating missing sbrk"
This reverts commit 39feff5cd566ea6b874f2064fa1d663546c07934. Signed-off-by: Alp Sayin <alpsayin@gmail.com>
1 parent a9a9df3 commit 4f0f6c9

File tree

1 file changed

+0
-12
lines changed
  • tests/lib/c_lib/common/src

1 file changed

+0
-12
lines changed

tests/lib/c_lib/common/src/main.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,29 +1109,20 @@ ZTEST(libc_common, test_time_asctime)
11091109
.tm_year = 124, /* Year (current year - 1900) */
11101110
};
11111111

1112-
#if !CONFIG_MICROBLAZE || CONFIG_NEWLIB_LIBC
1113-
/* These functions call snprintf: nothing interesting other than that */
11141112
zassert_not_null(asctime_r(&tp, buf));
1115-
#endif
11161113
zassert_equal(strncmp("Fri Jun 1 14:30:10 2024\n", buf, sizeof(buf)), 0);
11171114

11181115
zassert_not_null(asctime(&tp));
11191116
zassert_equal(strncmp("Fri Jun 1 14:30:10 2024\n", asctime(&tp), sizeof(buf)), 0);
11201117

11211118
if (IS_ENABLED(CONFIG_COMMON_LIBC_ASCTIME_R)) {
11221119
tp.tm_wday = 8;
1123-
#if !CONFIG_MICROBLAZE || CONFIG_NEWLIB_LIBC
1124-
/* These functions call snprintf: nothing interesting other than that */
11251120
zassert_is_null(asctime_r(&tp, buf));
1126-
#endif
11271121
zassert_is_null(asctime(&tp));
11281122

11291123
tp.tm_wday = 5;
11301124
tp.tm_mon = 12;
1131-
#if !CONFIG_MICROBLAZE || CONFIG_NEWLIB_LIBC
1132-
/* These functions call snprintf: nothing interesting other than that */
11331125
zassert_is_null(asctime_r(&tp, buf));
1134-
#endif
11351126
zassert_is_null(asctime(&tp));
11361127
}
11371128
}
@@ -1171,10 +1162,7 @@ ZTEST(libc_common, test_time_ctime)
11711162
#ifdef CONFIG_NATIVE_LIBC
11721163
setenv("TZ", "UTC", 1);
11731164
#endif
1174-
#if !CONFIG_MICROBLAZE || CONFIG_NEWLIB_LIBC
1175-
/* These functions call snprintf: nothing interesting other than that */
11761165
zassert_not_null(ctime_r(&test1, buf));
1177-
#endif
11781166
zassert_equal(strncmp("Thu Jun 13 06:26:40 2024\n", buf, sizeof(buf)), 0);
11791167

11801168
zassert_not_null(ctime(&test1));

0 commit comments

Comments
 (0)