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
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
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
Lephenixnoir
ae242222b3
improve test logic, coloring, and fbar display
...
* Store whether the test was run in a boolean, to avoid classifying
empty tests as pending when they have run
* Update color scheme accordingly
* Change the fbar first-level pixel share to give any extra pixel
resulting from division truncation to the "done" section rather than
the "empty" section, as this would sometimes cause the "empty"
section to get 1 pixel for 0 tests
2021-05-19 21:45:56 +02:00
Lephenixnoir
6e8b333e3b
inttypes: add type size inspection, and tests for imaxabs and imaxdiv
...
Tests for imaxabs and imaxdiv are not really needed as this is just the
same thing is llabs and lldiv.
2021-05-19 21:45:55 +02:00
Lephenixnoir
770388a6e5
stdlib: add tests for abs, labs, llabs, div, ldiv, lldiv
2021-05-19 10:14:37 +02:00
Lephenixnoir
c7a6d0484a
test, flog: logging improvements
...
* Add an ft_assert_eval() shortcut to check equality, log results, and
assert at the same time. Somewhat heavy, but good enough.
* Improve line numbers.
2021-05-19 10:14:37 +02:00
Lephenixnoir
ee0beb8028
ctype: add a test for case conversion macros and functions
2021-05-18 11:54:41 +02:00
Lephenixnoir
194a65c663
ctype: add a test for character class macros and functions
2021-05-18 11:42:52 +02:00
Lephenixnoir
daa7ff43ca
fbar: give each section enough room to show its assertion count
...
Proportions are only a suggestion at this point but to be honest they
kind of always were.
2021-05-18 11:42:52 +02:00
Lephenixnoir
ab754d9bdd
flog: add a widget to show a line-numbered scrollable string log
2021-05-18 11:42:52 +02:00
Lephenixnoir
c32e91b7f4
first version - and it works too!
2021-05-14 11:10:03 +02:00