Commit graph

4 commits

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