FEX/unittests
Alyssa Rosenzweig 44d738fa93 InstCountCI: Update
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2024-02-28 10:35:34 -04:00
..
32Bit_ASM Adds sign extending address bug that was detected when testing #3421 2024-02-27 19:57:22 -08:00
APITests unittests: Instruct CTest to print output from tests on failure 2023-09-26 17:16:28 +02:00
ASM Merge pull request #3459 from Sonicadvance1/fix_591 2024-02-26 21:57:03 -08:00
FEXLinuxTests Merge pull request #3392 from neobrain/feature_libfwd_fixed_size_ints 2024-02-02 08:42:41 -08:00
gcc-target-tests-32 unittests: Instruct CTest to print output from tests on failure 2023-09-26 17:16:28 +02:00
gcc-target-tests-64 unittests: Instruct CTest to print output from tests on failure 2023-09-26 17:16:28 +02:00
gvisor-tests unittests: Instruct CTest to print output from tests on failure 2023-09-26 17:16:28 +02:00
InstructionCountCI InstCountCI: Update 2024-02-28 10:35:34 -04:00
POSIX unittests: Instruct CTest to print output from tests on failure 2023-09-26 17:16:28 +02:00
ThunkFunctionalTests unittests: Instruct CTest to print output from tests on failure 2023-09-26 17:16:28 +02:00
ThunkLibs unittests/Library Forwarding: Test interaction between ptr_passthrough and fixed-size integer mapping 2024-02-21 11:44:54 +01:00
Utilities
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