FEX/unittests
2022-12-13 05:47:50 +00:00
..
32Bit_ASM OpCodeDispatcher: Optimize a case of GOT calculation 2022-12-10 02:50:48 -08:00
APITests
ASM OpcoodeDispatcher: Handle VPSUBB 2022-12-13 05:47:50 +00:00
FEXLinuxTests unittests: Adds unit test to test ERR 2022-12-09 15:44:22 -08:00
gcc-target-tests-32 CI: Adds support for flakes 2022-09-15 11:44:56 -07: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 unittests/IR: Update tests for new IR semantics 2022-11-22 23:06:18 -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 Thunks/gen: Consolidate all generated code to one file per library per platform 2022-09-05 15:03:49 +02:00
CMakeLists.txt Thunks: Adds functional thunk testing to CI 2022-09-14 12:48:13 -07: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