[Git][ghc/ghc][wip/ghc-9.12-rc1] testsuite: Also match <VERSION> placeholders when normalising callsites
Zubin (@wz1000)
gitlab at gitlab.haskell.org
Thu Nov 28 12:53:55 UTC 2024
Zubin pushed to branch wip/ghc-9.12-rc1 at Glasgow Haskell Compiler / GHC
Commits:
5d938345 by Zubin Duggal at 2024-11-28T18:23:25+05:30
testsuite: Also match <VERSION> placeholders when normalising callsites
(cherry picked from commit 2807f91bfb0b1e60ea8668622eae344e9ff5d840)
- - - - -
1 changed file:
- testsuite/driver/testlib.py
Changes:
=====================================
testsuite/driver/testlib.py
=====================================
@@ -2857,7 +2857,7 @@ def normalise_whitespace(s: str) -> str:
# Merge contiguous whitespace characters into a single space.
return ' '.join(s.split())
-callSite_re = re.compile(r', called at (.+):[\d]+:[\d]+ in [\w\-\.]+:')
+callSite_re = re.compile(r', called at (.+):[\d]+:[\d]+ in [<>\w\-\.]+:')
def normalise_callstacks(s: str) -> str:
opts = getTestOpts()
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5d938345841e3dff6a1dfa129202ba939a4564c9
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5d938345841e3dff6a1dfa129202ba939a4564c9
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/20241128/139dce2e/attachment.html>
More information about the ghc-commits
mailing list