Commit Graph

59 Commits

Author SHA1 Message Date
Lephenixnoir 97ef5b6fc7
stdio: add printf %N.Ms test where M > strlen(arg) 2024-02-04 20:15:34 +01:00
Lephenixnoir ba626bf366
stdio: scanf tests 2024-01-14 22:03:25 +01:00
Lephenixnoir 12c89e7c46
stdlib: a couple of additional strtoull tests 2022-08-22 18:58:15 +02:00
Lephenixnoir 0d6cc30c91
minor formatting 2022-03-31 10:05:43 +01:00
Lephenixnoir a30bd7e4f5 Merge pull request 'add test for getline(3) & getdelim(3)' (#1) from Alice/FxLibcTest:master into master
Reviewed-on: https://gitea.planet-casio.com/Lephenixnoir/FxLibcTest/pulls/1
2022-03-31 11:05:06 +02:00
Alice Rozengarden 2a74ccdd07 add test for getline(3) & getdelim(3) 2022-03-30 23:50:47 +02:00
Lephenixnoir cf40969c23
stdio: add tests for standard streams and misc functions 2022-01-14 18:39:49 +01:00
Lephenixnoir 58bab5137f
stdio: tests for fdopen(), fputc(), fputs(), fgetc(), fgets() 2022-01-14 17:17:00 +01:00
Lephenixnoir 419fef4f1e
stdio: tests for ungetc, update and append modes 2022-01-12 10:20:55 +01:00
Lephenixnoir ab763cf712
stdio: tests for simple fwrite() patterns and line buffering 2022-01-10 21:33:25 +01:00
Lephenixnoir 4ffcf4c892
string: add a test for memrchr 2022-01-10 21:33:14 +01:00
Lephenixnoir 71126cdd00
stdio: basic tests for fread() 2022-01-10 15:59:42 +01:00
Lephenixnoir 871bf84d57
unistd: add file offset checks 2022-01-06 14:43:58 +01:00
Lephenixnoir 12a157f01e
stdio: basic tests for fopen() 2022-01-02 21:00:04 +01:00
Lephenixnoir 25c67e6e10
unistd, sys/stat: stat(), mkdir() and rmdir() 2021-12-30 18:15:57 +01:00
Lephenixnoir 6383d9ba0f
avoid the library dependency loop with gint 2021-12-30 18:15:46 +01:00
Lephenixnoir 61ade4412d
unistd, dirent: path manipulation, folder enumeration 2021-12-23 01:20:41 +01:00
Lephenixnoir 8280bbb919
unistd: more advanced file manipulation tests 2021-12-13 18:40:19 +01:00
Lephenixnoir 7f27191726
time: generic and platform-specific functions 2021-12-04 22:00:40 +01:00
Lephenixnoir 02fe82d903
basic fx-9860G support and some filesystem tests (WIP) 2021-12-04 21:21:02 +01:00
Lephenixnoir c712416d12
string: add a test case for a buggy situation of strtok 2021-08-17 17:28:37 +02:00
Lephenixnoir 684f827e99
stdlib: add a test for TinyMT random numbers 2021-06-08 11:46:48 +02:00
Lephenixnoir d5d3c791f3
replace old gint/std headers with fxlibc ones 2021-06-08 10:52:40 +02:00
Lephenixnoir 287d9fb695
add exit and printf tests 2021-06-08 10:50:34 +02:00
Lephenixnoir 40349e99b7
signal: add basic signals 2021-05-30 10:51:52 +02:00
Lephenixnoir f5e55ecc22
setjmp: add a test to longjmp out of an interrupt 2021-05-30 10:44:27 +02:00
Lephenixnoir ef59e956bb
hopefully the last time key events are a problem 2021-05-30 10:43:15 +02:00
Lephenixnoir d3bb540905
we don't talk about that here 2021-05-29 23:45:18 +02:00
Lephenixnoir 3599134898
string: mark makenstr as unused
This function will be relevant only if we ever optimize some
size-limited string function in assembler, which would warrant the user
of memarray to validate size/alignment combinations.
2021-05-29 21:50:12 +02:00
Lephenixnoir 49a8669669
setjmp: add basic long jump tests 2021-05-29 18:55:05 +02:00
Lephenixnoir 90dc8b29a6
bump to gint 2.5 (simplified logic)
gint 2.5 now provides flags for OpenLibm and the libc.
2021-05-25 21:29:36 +02:00
Lephenixnoir 5b21ea6ca1
string: test strnlen, strcmp*, strcasecmp*, strstr*, strtok 2021-05-25 20:51:13 +02:00
Lephenixnoir d7d1ea1a81
string: test strdup*, strspn*, strpbrk 2021-05-23 19:16:13 +02:00
Lephenixnoir 0048fb03ee
string: add tests for a bunch of naive str functions 2021-05-23 17:43:14 +02:00
Lephenixnoir 32b2bad9fc
string: add a test for strlen 2021-05-23 15:56:45 +02:00
Lephenixnoir 86857d9d4f
enable SH4 CPU capabilities 2021-05-23 15:56:20 +02:00
Lephenixnoir 5b003e5bc4
string: add a test for memchr 2021-05-23 13:18:18 +02:00
Lephenixnoir 95d4af238b
allow browsing both visualization and logs 2021-05-23 12:30:45 +02:00
Lephenixnoir f852d9f7f3
string: add a test for memcmp 2021-05-22 09:09:28 +02:00
Lephenixnoir 65979454ba
stdlib: add tests for strtod, strtof and atof 2021-05-21 23:55:17 +02:00
Lephenixnoir f7be1f758f
stdlib: add a test for strtold 2021-05-21 22:48:45 +02:00
Lephenixnoir ec7626d789
allow tests to be skipped 2021-05-21 10:18:59 +02:00
Lephenixnoir fec8637312
cmake: link with OpenLibm
Once the FxLibc gets a CMake module this will be automatic.
2021-05-21 10:15:09 +02:00
Lephenixnoir 9b7c5ae70f
ctype: reduce number of assertions 2021-05-21 10:14:24 +02:00
Lephenixnoir b8c83ce9b4
inttypes: add brief tests for strtoimax and strtoumax
All the tests are done in strtol/strtoll and strtoul/strtoull, the only
important thing is to check that the correct size type is used.
2021-05-20 16:03:33 +02:00
Lephenixnoir e8c2e8dae6
stdlib: add saturation tests for strtol etc. 2021-05-20 15:37:52 +02:00
Lephenixnoir 3984056ee5
stdlib: add tests for strol, strtoul, strtoll 2021-05-20 10:59:19 +02:00
Lephenixnoir 82bf04c67f
update coloring in fbar for empty tests that have run 2021-05-20 09:31:32 +02:00
Lephenixnoir d93b77724f
stdlib: add a test for strtoull 2021-05-19 21:45:56 +02:00
Lephenixnoir a487b64fb3
stdlib: add a test to check size of integer and floating-point types
This dictates the behavior of strtoll, strtoull, strtold mainly.
2021-05-19 21:45:56 +02:00