Commit graph

12 commits

Author SHA1 Message Date
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