From 431a30b9c804221269e06e32083043185da8466b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 29 Apr 2024 10:31:42 +0200 Subject: [PATCH] Temporarily disable the JIT_IR unit test on Mac (not sure why it started crashing, OS upgrade?) --- unittest/JitHarness.cpp | 2 ++ unittest/UnitTest.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/unittest/JitHarness.cpp b/unittest/JitHarness.cpp index 71dd8f92c5..cf21c59623 100644 --- a/unittest/JitHarness.cpp +++ b/unittest/JitHarness.cpp @@ -197,8 +197,10 @@ bool TestJit() { ir_speed = ExecCPUTest(); mipsr4k.UpdateCore(CPUCore::JIT); jit_speed = ExecCPUTest(); +#if !PPSSPP_PLATFORM(MAC) mipsr4k.UpdateCore(CPUCore::JIT_IR); jit_ir_speed = ExecCPUTest(false); +#endif // Disassemble JitBlockCacheDebugInterface *cache = MIPSComp::jit->GetBlockCacheDebugInterface(); diff --git a/unittest/UnitTest.cpp b/unittest/UnitTest.cpp index c71a19bf4b..ec2d0f5b94 100644 --- a/unittest/UnitTest.cpp +++ b/unittest/UnitTest.cpp @@ -1099,7 +1099,7 @@ int main(int argc, const char *argv[]) { return 2; } } else if (testFunc == nullptr) { - fprintf(stderr, "You may select a test to run by passing an argument.\n"); + fprintf(stderr, "You may select a test to run by passing an argument, either \"all\" or one or more of the below.\n"); fprintf(stderr, "\n"); fprintf(stderr, "Available tests:\n"); for (auto f : availableTests) {