19 Commits

Author SHA1 Message Date
Tony Wasserka
f4dd456c80 unittests: Instruct CTest to print output from tests on failure 2023-09-26 17:16:28 +02:00
Alyssa Rosenzweig
c52741c813 FEXCore: Gut interpreter
It is scarcely used today, and like the x86 jit, it is a significant
maintainence burden complicating work on FEXCore and arm64 optimization. Remove
it, bringing us down to 2 backends.

1 down, 1 to go.

Some interpreter scaffolding remains for x87 fallbacks. That is not a problem
here.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2023-09-21 12:48:12 -04:00
Tony Wasserka
527b65648f unittests: Enable logging to stderr when invoking FEXLoader 2023-09-18 16:53:35 +02:00
Ryan Houdek
9fac1b8105 CI: Adds support for flakes
If a test is marked as a flake then it will be tried five times before
giving up.

Works around the problem of needing to babysit CI once a PR is pushed.
As long as we have all the flake tests marked.
2022-09-15 11:44:56 -07:00
Stefanos Kornilios Misis Poiitidis
40ec910108 unittests: Add FEXLinuxTests, with a few signal and smc tests 2022-06-10 08:34:40 +03:00
Ryan Houdek
1b6d20b731 unittests: Disables Interpreter tests when its disabled
Would result in failures if you weren't expecting it.
2022-02-11 12:55:10 -08:00
Ryan Houdek
228aed98c7 unittests: Fixes ROOTFS needing to be defined prior to cmake
cmake will bake in the environment variable in to the build scripts.
Instead have the guest_test_runner fetch it at runtime.

This means if you forget to set ROOTFS prior to running cmake, you can
now set it afterwards and rerun with just ctest instead of a cmake
dance.

Fixes #315
2022-01-09 01:56:13 -08:00
Ryan Houdek
dc041bdf0e Disables silent logging on unit tests
We need these for our CI artifacts
2021-03-26 18:04:17 -07:00
Stefanos Kornilios Mitsis Poiitidis
311aa2b811 Tests: Cleanup scripts, review feedback 2021-01-10 18:06:02 +02:00
Stefanos Kornilios Mitsis Poiitidis
afaf79f568 Tests/posix: Disavle verbose for real 2021-01-09 19:33:53 +02:00
Stefanos Kornilios Mitsis Poiitidis
278e156a8a Tests: Move timeout to ctest from python + timeout 2021-01-09 19:26:15 +02:00
Stefanos Kornilios Mitsis Poiitidis
08b9f90286 Tests: Disable Verbose logging for posixtests, gvisor 2021-01-09 19:14:15 +02:00
Stefanos Kornilios Mitsis Poiitidis
7cc2404c63 Tests: Correctly match test cases 2021-01-09 19:08:46 +02:00
Ryan Houdek
f17ec1661c Removes -U option from POSIX unit test runner
Option no longer exists.
mlockall POSIX test now works since it doesn't try to make 64GB of
memory resident in RAM
2020-12-10 02:09:52 -08:00
Ryan Houdek
5f696336d7 Emergency fix. POSIX tests failing because of ELFLoader rename 2020-09-05 15:48:35 -07:00
Ryan Houdek
d70f2e6854 Actually run the IRJIT for the JIT posix test 2020-07-19 04:03:38 -07:00
Stefanos Kornilios Mitsis Poiitidis
f10891eb11 posixtests: Move disabled list to file from filenames 2020-05-26 17:39:22 +03:00
Stefanos Kornilios Mitsis Poiitidis
223c51d4e5 Verbose test output 2020-05-22 17:15:08 +03:00
Stefanos Kornilios Mitsis Poiitidis
430ff3e2a6 Move posixtest to ctest, add known failures 2020-05-22 16:23:07 +03:00