FEX/unittests
Alyssa Rosenzweig 5e0952159d unittests: add test for a MMX register cache bug
this failed on an earlier version of the register cache.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2024-07-10 11:34:24 -04:00
..
32Bit_ASM Use number of jobs as defined by TEST_JOB_COUNT 2024-07-03 14:09:39 +02:00
APITests Use number of jobs as defined by TEST_JOB_COUNT 2024-07-03 14:09:39 +02:00
ASM unittests: add test for a MMX register cache bug 2024-07-10 11:34:24 -04:00
FEXLinuxTests Use number of jobs as defined by TEST_JOB_COUNT 2024-07-03 14:09:39 +02:00
gcc-target-tests-32 Use number of jobs as defined by TEST_JOB_COUNT 2024-07-03 14:09:39 +02:00
gcc-target-tests-64 Use number of jobs as defined by TEST_JOB_COUNT 2024-07-03 14:09:39 +02:00
gvisor-tests Use number of jobs as defined by TEST_JOB_COUNT 2024-07-03 14:09:39 +02:00
InstructionCountCI Merge pull request #3820 from alyssarosenzweig/ir/drop-deferred 2024-07-09 17:06:25 -07:00
POSIX Use number of jobs as defined by TEST_JOB_COUNT 2024-07-03 14:09:39 +02:00
ThunkFunctionalTests Use number of jobs as defined by TEST_JOB_COUNT 2024-07-03 14:09:39 +02:00
ThunkLibs Use number of jobs as defined by TEST_JOB_COUNT 2024-07-03 14:09:39 +02:00
Utilities Reformat until fixed-point 2024-04-15 09:40:00 +02:00
CMakeLists.txt
Example.asm
Readme.md

FEX Unit tests

FEX has its own test suite for x86-64 emulation, and we also use gcc's target tests, posixtest, and gvisor's tests. We use a combination of CMake/CTest and python runner scripts.

We also regularly run and pass qemu's and valgrind's tests for validation, but those aren't in CI right now.

x86/64 testing

  • A lot of handwritten assembly unit tests in 32Bit_ASM and ASM folders, run via our TestHarnessHelper
  • A few handwritten IR tests in IR, run via our IRLoader
  • gcc-target-tests-32 and gcc-target-tests-64, run via FEXLoader. The tests binaries are in External/fex-gcc-target-tests-bins

Syscall testing