[Git][ghc/ghc][wip/fix-ipe-test] Fix IPE test
Krzysztof Gogolewski (@monoidal)
gitlab at gitlab.haskell.org
Wed Nov 15 16:00:56 UTC 2023
Krzysztof Gogolewski pushed to branch wip/fix-ipe-test at Glasgow Haskell Compiler / GHC
Commits:
d445cbc6 by Krzysztof Gogolewski at 2023-11-15T17:00:33+01: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/d445cbc60d94d9f3449b979d5f312c5c3e76b86c
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d445cbc60d94d9f3449b979d5f312c5c3e76b86c
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/20231115/70c1d963/attachment-0001.html>
More information about the ghc-commits
mailing list