From 13e329ae7d32d8f82ca4deeb2e710c5710fa7daa Mon Sep 17 00:00:00 2001 From: Cheng Shao <terrorjack@type.dance> Date: Mon, 17 Feb 2025 17:59:59 +0000 Subject: [PATCH] testsuite: fix InternalCounters test with +debug_ghc The `InternalCounters` test case fails when ghc is built with `+debug_ghc`. This patch skips it in that case and allows the testsuite to pass for the `+debug_ghc` flavour transformer. (cherry picked from commit 59b9307b239f0e1058ccc90ca2fadb86552c0308) (cherry picked from commit 70003f90694f14519193bc236785aa0d7e820e1d) --- testsuite/tests/rts/all.T | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T index 9194e7b6060..feba8c6a133 100644 --- a/testsuite/tests/rts/all.T +++ b/testsuite/tests/rts/all.T @@ -464,6 +464,8 @@ test('InternalCounters', # The ways which build against the debug RTS are built with PROF_SPIN and # therefore differ in output , omit_ways(['nonmoving_thr_sanity', 'threaded2_sanity', 'sanity']) + # Likewise when ghc is linked with debug RTS using +debug_ghc + , when(debug_rts(), skip) ], makefile_test, ['InternalCounters']) test('alloccounter1', js_broken(22261), compile_and_run, [ -- GitLab