Build with AU_BUILD_TESTS=ON to enable tests:
$ cmake -B build -DAU_BUILD_TESTS=ON
$ cmake --build build --config Release
$ ctest -C Release
Test Requirements:
On Linux, QEMU (qemu-x86_64) is required:
# Ubuntu
$ sudo apt-get install qemu-user
# Fedora/RHEL/CentOS
$ sudo dnf install qemu-user
Note
On Windows, tests are disabled because QEMU-user is unavailable.
Test Categories:
Cpuid Tests: CPU detection and feature flag validation (requires Python 3.9-3.13)
ThreadPinning Tests: Affinity setting and strategy validation
Logger Tests: Logging functionality and thread safety
Status Tests: Error handling mechanisms
RNG Tests: Random number generation validation
Important
Do a clean build after installing QEMU
Ensure python3 and python3-dev(el) packages are installed for Cpuid tests