Zihao Yu
dbe346eb85
tests,cpu-tests,Makefile: refine
2024-02-20 14:51:47 +08:00
Zihao Yu
33c0dd0d85
am-tests,keyboard: fix comparison of char
...
* The sign of char is implemention-defined. char is unsigned in RISC-V.
2024-01-10 23:48:00 +08:00
Zihao Yu
9486898b81
tests,alu-tests: fix printf format error caused by -2147483648
...
* This error is reported by clang, but it is suppressed by -fno-builtin
in gcc.
2023-11-13 12:05:30 +08:00
Zihao Yu
d918fc429f
tests,alu-tests: fix errors reported by -Wall and -Werror
2023-11-13 12:05:15 +08:00
Zihao Yu
773fa2b997
add license for alu-tests and snake
2023-10-03 21:04:37 +08:00
Zihao Yu
86c5532674
am-tests,intr: add panic message
2023-10-03 15:28:47 +08:00
Zihao Yu
53cc98e4c0
tests,cpu-tests,Makefile: remove klib since it is added by default
2023-07-21 10:52:58 +08:00
Zihao Yu
6b5c2ad2d3
tests,cpu-test: add more tests from movfuscator
2023-07-01 00:56:02 +08:00
Zihao Yu
d336e55bc3
tests,alu-tests: refine
...
* use volatile to prevent compiler optimization
* only output failed tests
* output with line number in the generated C file
* return 1 if some tests fail
* disable floating-point tests
2023-07-01 00:52:47 +08:00
Zihao Yu
fbc2739875
tests: add alu-test from movfuscator
...
* https://github.com/xoreaxeaxeax/movfuscator
2023-07-01 00:51:15 +08:00
Zihao Yu
adc316af6e
cpu-tests,Makefile: support target gdb
2021-10-20 12:56:40 +08:00
Zihao Yu
56c864d5ef
tests,cpu-tests,Makefile: report run results
2021-08-13 18:04:41 +08:00
Zihao Yu
5e7cd0c7f2
am-tests,intr: change printf() to putch()
2021-08-11 16:55:49 +08:00
Zihao Yu
f3af11ebbf
cpu-tests,Makefile: remove unused rules
2021-08-11 16:55:34 +08:00
Zihao Yu
242c1f1f53
tests,cpu-tests,string: test the return value of strcmp() according to the manual
2021-08-11 16:52:42 +08:00
Zihao Yu
060dde6692
am-tests,audio: ctrl.bufsize is now unconfigurable
2021-08-11 16:52:42 +08:00
Zihao Yu
fc7b5f832b
test,am-tests,audio: add .gitignore to track the pcm file
2021-08-11 16:52:42 +08:00
Zihao Yu
07c99a1e2a
test,am-tests: add audio test
2021-08-11 16:52:42 +08:00
Zihao Yu
0a123cc9e6
tests: add am-tests
2021-08-11 16:52:42 +08:00
Yanyan Jiang
960dc907e9
restructure project
2021-08-11 16:46:45 +08:00