FEX/unittests
Paulo Matos 5c258d4a2a ASM Test: Implements explicit state switch between X87 and MMX
Tags is set to all valid in FEX, but in host it's set to all valid _and_
reinterpreted. Adding this to known failures in the host runner.
2024-10-15 17:58:59 +02:00
..
32Bit_ASM unittests: Be more strict with -- separator 2024-09-30 11:30:56 -07:00
APITests Build host tools without jemalloc 2024-09-30 20:38:24 +02:00
ASM ASM Test: Implements explicit state switch between X87 and MMX 2024-10-15 17:58:59 +02:00
FEXLinuxTests unittests: Fixes incorrect argument 2024-09-14 23:15:52 -07:00
gcc-target-tests-32 unittests: Fixes incorrect argument 2024-09-14 23:15:52 -07:00
gcc-target-tests-64 unittests: Fixes incorrect argument 2024-09-14 23:15:52 -07:00
gvisor-tests unittests: Fixes incorrect argument 2024-09-14 23:15:52 -07:00
InstructionCountCI ConstProp: drop non-loadbearing opts 2024-10-02 14:01:32 -04:00
POSIX unittests: Fixes incorrect argument 2024-09-14 23:15:52 -07:00
ThunkFunctionalTests unittests: Fixes incorrect argument 2024-09-14 23:15:52 -07: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 Removes IRLoader, unittests, and public interface 2023-12-25 07:00:29 -08:00
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