[Git][ghc/ghc][master] testsuite: fix InternalCounters test with +debug_ghc

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Feb 20 01:25:27 UTC 2025



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
59b9307b by Cheng Shao at 2025-02-19T20:24:40-05:00
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.

- - - - -


1 changed file:

- testsuite/tests/rts/all.T


Changes:

=====================================
testsuite/tests/rts/all.T
=====================================
@@ -470,6 +470,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,
   [



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/59b9307b239f0e1058ccc90ca2fadb86552c0308

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/59b9307b239f0e1058ccc90ca2fadb86552c0308
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20250219/562cce06/attachment.html>


More information about the ghc-commits mailing list