tests/run_tests.sh builds small MIPS programs with clang that run in place of the BIOS, and a headless libretro frontend that boots the core with them: - mdec: decodes macroblock streams through DMA in both channel orders, 24- and 15-bit, with and without AC coefficients, and through CPU reads, and compares the output with tests/mdec_decode.expected. - polyline: draws poly-lines longer than the core buffers, flat and shaded, opaque and blended, and compares VRAM with tests/gpu_polyline.expected. - regfuzz: pokes the GPU, DMA, CD-ROM, SPU, MDEC, timer and SIO registers with pseudo-random values, with a small disc inserted. - statefuzz: loads corrupted save states into a fuzzed system. The workflow runs them on a release build with every CPU mode, under ASan and UBSan, and under TSan with the GPU and CD-ROM threads.
21 lines
326 B
Text
21 lines
326 B
Text
# case, checksum, flags (see tests/guest/mdec_decode.c)
|
|
0 5bf2d700 0
|
|
1 5bf2d700 0
|
|
2 805f8e00 0
|
|
3 805f8e00 0
|
|
4 9589bf00 0
|
|
5 9589bf00 0
|
|
6 4d7be000 0
|
|
7 4d7be000 0
|
|
8 c7270700 0
|
|
9 c7270700 0
|
|
10 cd9bf600 0
|
|
11 cd9bf600 0
|
|
12 c744c000 0
|
|
13 c744c000 0
|
|
14 e63d5c00 0
|
|
15 e63d5c00 0
|
|
16 5bf2d700 0
|
|
17 9589bf00 0
|
|
18 c7270700 0
|
|
19 c744c000 0
|