FEX/unittests
Alyssa Rosenzweig fdd370dd1a InstCountCI: Update
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2024-08-21 17:52:22 -04:00
..
32Bit_ASM Merge pull request #3894 from pmatos/RoundingModeTests 2024-07-29 23:26:52 -07:00
APITests Remove unused function MmapOverride 2024-07-16 11:16:07 +02:00
ASM OpcodeDispatcher: Remove old bad assumption in INC/DEC 2024-08-15 10:22:31 -07:00
FEXLinuxTests unittests: Update syscalls_efault test 2024-08-15 00:48:57 -07:00
gcc-target-tests-32 Test running scripts tell ctest of skipped tests 2024-07-26 14:04:54 +02:00
gcc-target-tests-64 Test running scripts tell ctest of skipped tests 2024-07-26 14:04:54 +02:00
gvisor-tests unittests/gvisor: Updates known failures test for poll 2024-08-15 00:48:57 -07:00
InstructionCountCI InstCountCI: Update 2024-08-21 17:52:22 -04:00
POSIX Test running scripts tell ctest of skipped tests 2024-07-26 14:04:54 +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 Removes IRLoader, unittests, and public interface 2023-12-25 07:00:29 -08:00
Example.asm
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