[Git][ghc/ghc][master] Fix IPE test

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Nov 16 14:58:46 UTC 2023



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


Commits:
3e606230 by Krzysztof Gogolewski at 2023-11-16T09:58:22-05:00
Fix IPE test

A helper function was defined in a different module than used.
To reproduce: ./hadrian/build test --test-root-dirs=testsuite/tests/rts/ipe

- - - - -


2 changed files:

- testsuite/tests/rts/all.T
- testsuite/tests/rts/ipe/all.T


Changes:

=====================================
testsuite/tests/rts/all.T
=====================================
@@ -216,10 +216,6 @@ test('EventlogOutput_IPE',
      ],
      makefile_test, ['EventlogOutput_IPE'])
 
-# Remove the capability prefix from IPE event log lines.
-def noCapabilityOutputFilter(s):
-     return re.sub(r'[a-f0-9]+: IPE:', 'IPE:', s)
-
 test('T4059', req_c, makefile_test, ['T4059'])
 
 # Test for #4274


=====================================
testsuite/tests/rts/ipe/all.T
=====================================
@@ -1,3 +1,7 @@
+# Remove the capability prefix from IPE event log lines.
+def noCapabilityOutputFilter(s):
+     return re.sub(r'[a-f0-9]+: IPE:', 'IPE:', s)
+
 test('ipeMap', [extra_files(['ipe_lib.c', 'ipe_lib.h']), c_src, omit_ghci], compile_and_run, ['ipe_lib.c'])
 
 # Manually create IPE entries and dump them to event log (stderr).



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3e606230e904482f900a43a25aa4584567f25d87

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3e606230e904482f900a43a25aa4584567f25d87
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/20231116/5f1eab28/attachment-0001.html>


More information about the ghc-commits mailing list