Paolo Bonzini | 72bd94c | 2016-10-06 15:28:46 +0200 | [diff] [blame] | 1 | This directory contains various interesting programs for |
| 2 | regression testing. |
| 3 | |
| 4 | The target "make test" runs the programs and, if applicable, |
| 5 | runs "diff" to detect mismatches between output on the host and |
| 6 | output on QEMU. |
| 7 | |
| 8 | i386 |
| 9 | ==== |
| 10 | |
| 11 | test-i386 |
| 12 | --------- |
| 13 | |
| 14 | This program executes most of the 16 bit and 32 bit x86 instructions and |
| 15 | generates a text output, for comparison with the output obtained with |
| 16 | a real CPU or another emulator. |
| 17 | |
| 18 | The Linux system call modify_ldt() is used to create x86 selectors |
| 19 | to test some 16 bit addressing and 32 bit with segmentation cases. |
| 20 | |
| 21 | The Linux system call vm86() is used to test vm86 emulation. |
| 22 | |
| 23 | Various exceptions are raised to test most of the x86 user space |
| 24 | exception reporting. |
| 25 | |
| 26 | linux-test |
| 27 | ---------- |
| 28 | |
| 29 | This program tests various Linux system calls. It is used to verify |
| 30 | that the system call parameters are correctly converted between target |
| 31 | and host CPUs. |
| 32 | |
| 33 | test-i386-fprem |
| 34 | --------------- |
| 35 | |
| 36 | runcom |
| 37 | ------ |
| 38 | |
| 39 | test-mmap |
| 40 | --------- |
| 41 | |
| 42 | sha1 |
| 43 | ---- |
| 44 | |
| 45 | hello-i386 |
| 46 | ---------- |
| 47 | |
| 48 | |
| 49 | ARM |
| 50 | === |
| 51 | |
| 52 | hello-arm |
| 53 | --------- |
| 54 | |
| 55 | test-arm-iwmmxt |
| 56 | --------------- |
| 57 | |
| 58 | MIPS |
| 59 | ==== |
| 60 | |
| 61 | hello-mips |
| 62 | ---------- |
| 63 | |
| 64 | hello-mipsel |
| 65 | ------------ |
| 66 | |
| 67 | CRIS |
| 68 | ==== |
| 69 | The testsuite for CRIS is in tests/tcg/cris. You can run it |
| 70 | with "make test-cris". |
| 71 | |
| 72 | LM32 |
| 73 | ==== |
| 74 | The testsuite for LM32 is in tests/tcg/cris. You can run it |
| 75 | with "make test-lm32". |
| 76 | |