Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 72) sorted by relevance

123

/picolibc-3.7.0-3.6.0/test/
Dtimegm.c46 } 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 …]
Dtest-strtod.c55 } tests[] = { variable
111 #define NTESTS (sizeof(tests)/sizeof(tests[0]))
127 d = strtod(tests[i].string, &end); in main()
128 if (d != tests[i].dvalue) { in main()
129 printf("strtod(\"%s\"): got %.17e %a want %.17e %a\n", tests[i].string, in main()
130 d, d, tests[i].dvalue, tests[i].dvalue); in main()
135 tests[i].string, end); in main()
138 f = strtof(tests[i].string, &end); in main()
139 if (f != tests[i].fvalue) { in main()
140 printf("strtof(\"%s\"): got %.17e %a want %.17e %a\n", tests[i].string, in main()
[all …]
Dregex.c51 const struct test tests[] = { variable
71 #define NTEST (sizeof(tests)/sizeof(tests[0]))
85 ret = regcomp(&regex, 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(&regex, 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 …]
Dtest-efcvt.c174 #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-3.7.0-3.6.0/test/libc-testsuite/
Dfnmatch.c76 } 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-3.7.0-3.6.0/.github/
Ddo-arm4 "$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-3.7.0-3.6.0/scripts/
Dcross-aarch64-zephyr-elf.txt2 # 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
Dcross-riscv64-zephyr-elf.txt2 # 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
Dcross-arc-zephyr-elf.txt2 # 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
Dcross-cortex-a9-none-eabi.txt2 # 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
Dcross-mips-zephyr-elf.txt2 # 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
Dcross-aarch64-linux-gnu.txt2 # 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
Dcross-nios2-zephyr-elf.txt2 # 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
Dcross-thumbv8_1m-none-eabi.txt2 # 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
Dcross-thumbv8m_main_fp-none-eabi.txt2 # 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
Dcross-riscv64-unknown-elf.txt2 # 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
Dcross-i686-linux-gnu.txt2 # 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
Dcross-x86-linux-gnu.txt2 # 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
Dcross-x86_64-linux-gnu.txt2 # 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
Dcross-x86_64-zephyr-elf.txt2 # 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
Dcross-clang-rv32imafdc-unknown-elf.txt2 # 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
Dcross-arm-none-eabi.txt2 # 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
Dcross-arm-zephyr-eabi.txt2 # 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
Dcross-clang-riscv64-unknown-elf.txt2 # 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
Dcross-avr.txt2 # 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

123