/picolibc-latest/test/ |
D | timegm.c | 46 } tests[NUM_TEST] = { variable 59 tests[i].time = random(); in main() 60 gmtime_r(&tests[i].time, &tests[i].tm); in main() 62 printf (" .time = %ld,\n", tests[i].time); in main() 64 printf (" .tm_sec = %d,\n", tests[i].tm.tm_sec); /* Seconds (0-60) */ in main() 65 printf (" .tm_min = %d,\n", tests[i].tm.tm_min); /* Minutes (0-59) */ in main() 66 printf (" .tm_hour = %d,\n", tests[i].tm.tm_hour); /* Hours (0-23) */ in main() 67 … printf (" .tm_mday = %d,\n", tests[i].tm.tm_mday); /* Day of the month (1-31) */ in main() 68 printf (" .tm_mon = %d,\n", tests[i].tm.tm_mon); /* Month (0-11) */ in main() 69 printf (" .tm_year = %d,\n", tests[i].tm.tm_year); /* Year - 1900 */ in main() [all …]
|
D | test-strtod.c | 57 } tests[] = { variable 129 #define NTESTS (sizeof(tests)/sizeof(tests[0])) 145 d = strtod(tests[i].string, &end); in main() 146 if (d != tests[i].dvalue) { in main() 147 printf("strtod(\"%s\"): got %.17e %a want %.17e %a\n", tests[i].string, in main() 148 d, d, tests[i].dvalue, tests[i].dvalue); in main() 151 if (strcmp(end, tests[i].end_test) != 0) { in main() 153 tests[i].string, end, tests[i].end_test); in main() 156 f = strtof(tests[i].string, &end); in main() 157 if (f != tests[i].fvalue) { in main() [all …]
|
D | regex.c | 51 const struct test tests[] = { variable 71 #define NTEST (sizeof(tests)/sizeof(tests[0])) 85 ret = regcomp(®ex, tests[t].pattern, REG_EXTENDED); in main() 87 printf("expression \"%s\" failed to compile: %d\n", tests[t].pattern, ret); in main() 91 ret = regexec(®ex, tests[t].string, MAX_MATCH, matches, 0); in main() 93 if (ret != tests[t].ret) { in main() 95 tests[t].pattern, tests[t].string, ret, tests[t].ret); in main() 101 if (m < tests[t].nmatch) { in main() 102 if (matches[m].rm_so != tests[t].matches[m].rm_so || in main() 103 matches[m].rm_eo != tests[t].matches[m].rm_eo) { in main() [all …]
|
D | test-efcvt.c | 174 #define many_tests(tests, func, n, skip_long) do { \ argument 178 int ret = func(tests[i].value, tests[i].ndigit, &decpt, &sign, buf, sizeof(buf)); \ 188 if (strcmp(buf, tests[i].expect) != 0 || \ 189 decpt != tests[i].decpt || \ 190 sign != tests[i].sign) \ 194 tests[i].expect, tests[i].decpt, tests[i].sign); \
|
/picolibc-latest/newlib/testsuite/newlib.time/ |
D | asctime.c | 46 } tests[] = { variable 154 (void) tests; in main() 155 for (n = 0; n < sizeof(tests)/sizeof(tests[0]); n++) in main() 157 const char *result = asctime_r(&tests[n].tm, buf); in main() 159 if (tests[n].result == NULL && result == NULL) in main() 162 if (tests[n].result != NULL && result != NULL && in main() 163 strcmp(tests[n].result, result) == 0) in main() 167 …printf("expect \"%s\"(%d) result \"%s\"(%d)\n", tests[n].result, mylen(tests[n].result), result, m… in main()
|
/picolibc-latest/test/libc-testsuite/ |
D | fnmatch.c | 76 } tests[] = { variable 155 for (i = 0; i < (int)(sizeof(tests) / sizeof(*tests)); i++) { in test_fnmatch() 158 r = fnmatch(tests[i].pattern, tests[i].string, tests[i].flags); in test_fnmatch() 159 x = tests[i].expected; in test_fnmatch() 163 tests[i].pattern, tests[i].string); in test_fnmatch() 164 printflags(fnmatch_flags, tests[i].flags); in test_fnmatch() 165 printf(") => %d (expected %d)\n", r, tests[i].expected); in test_fnmatch()
|
/picolibc-latest/.github/ |
D | do-arm | 4 "$HERE"/do-test native -Dnative-tests=false -Dtests-enable-posix-io=false 5 "$HERE"/do-test native -Dnative-tests=false -Dtests-enable-posix-io=false -Dio-float-exact=false -D… 6 "$HERE"/do-test native -Dnative-tests=false -Dtests-enable-posix-io=false -Dformat-default=integer …
|
/picolibc-latest/scripts/ |
D | cross-riscv64-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-aarch64-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-clang-aarch64-none-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-cortex-a9-none-eabi.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-mips-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-nios2-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-riscv64-unknown-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-arc-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-clang-x86.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 15 # only needed to run tests
|
D | cross-clang-x86_64.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 15 # only needed to run tests
|
D | cross-thumbv8_1m-none-eabi.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-thumbv8m_main_fp-none-eabi.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-x86_64-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 13 # only needed to run tests
|
D | cross-clang-arm-none-eabi.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-i686-linux-gnu.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 13 # only needed to run tests
|
D | cross-x86-linux-gnu.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 13 # only needed to run tests
|
D | cross-x86_64-linux-gnu.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 13 # only needed to run tests
|
D | cross-aarch64-linux-gnu.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 13 # only needed to run tests
|