From 929ba2f95a92d382dd72f4a9151ea7cfa0ec97f1 Mon Sep 17 00:00:00 2001
From: Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com>
Date: Fri, 10 Nov 2023 16:07:04 +0000
Subject: [PATCH] testsuite: Skip MultiLayerModulesTH_Make on darwin

The recent toolchain upgrade on darwin machines resulted in the
MultiLayerModulesTH_Make test metrics varying too much from the
baseline, ultimately blocking the CI pipelines.

This commit skips the test on darwin to temporarily avoid failures due
to the environment change in the runners. However, the metrics
divergence is being investigated still (tracked in #24177)
---
 testsuite/tests/perf/compiler/all.T | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T
index 379731633f23..0ed362fe9df0 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -361,7 +361,10 @@ test('MultiLayerModulesTH_Make',
        pre_cmd('$MAKE -s --no-print-directory MultiLayerModulesTH_Make_Prep'),
        extra_files(['genMultiLayerModulesTH']),
        unless(have_dynamic(),skip),
-       compile_timeout_multiplier(5)
+       compile_timeout_multiplier(5),
+       # We skip the test on darwin due to recent regression due to toolchain
+       # upgrade (tracked in #24177)
+       when(opsys('darwin'), skip)
      ],
      multimod_compile_fail,
      # see Note [Increased initial stack size for MultiLayerModules]
-- 
GitLab