FEX/unittests
2023-02-22 14:12:11 -05:00
..
32Bit_ASM unittests: Adds negative integer x87 tests 2023-01-08 10:44:46 -08:00
APITests APITests: Fixes InterruptableConditionVariable test to use the syscall wrappers. 2022-01-09 22:00:57 -08:00
ASM OpcodeDispatcher: Handle VHSUBPD 2023-02-22 14:12:11 -05:00
FEXLinuxTests FEXLinuxTests: Adds 32-bit signal tests 2023-01-30 13:30:15 -08:00
gcc-target-tests-32 gcc tests: Handle pr57275 test 2023-02-08 17:49:29 -05:00
gcc-target-tests-64 CI: Adds support for flakes 2022-09-15 11:44:56 -07:00
gvisor-tests unittests/gvisor: Adds a bunch of tests to flakes 2022-10-31 12:53:04 -07:00
IR IR: Update tests for new GPR offsets 2023-01-13 19:35:12 -08:00
POSIX CI: Adds support for flakes 2022-09-15 11:44:56 -07:00
ThunkFunctionalTests Thunks: Adds functional thunk testing to CI 2022-09-14 12:48:13 -07:00
ThunkLibs unittests: Updates tests to have a dlsym_default function 2023-02-01 06:48:26 -08:00
CMakeLists.txt Thunks: Adds functional thunk testing to CI 2022-09-14 12:48:13 -07:00
Example.asm Add MemoryData to IR and ASM Tests 2020-08-21 01:29:37 +12:00
Readme.md Docs: Add tags to the source code 2021-03-30 12:21:18 +03:00

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