[Git][ghc/ghc][wip/keepAlive-the-return-of-the-primop] testsuite fixes

Ben Gamari gitlab at gitlab.haskell.org
Thu Dec 3 18:05:45 UTC 2020



Ben Gamari pushed to branch wip/keepAlive-the-return-of-the-primop at Glasgow Haskell Compiler / GHC


Commits:
30c65833 by Ben Gamari at 2020-12-03T13:05:39-05:00
testsuite fixes

Metric Increase:
    T10421
    T12227
    T12234
    T12425
    T13035
    T5536

- - - - -


2 changed files:

- testsuite/tests/ghci/should_run/T16012.script
- testsuite/tests/ghci/should_run/T16012.stdout


Changes:

=====================================
testsuite/tests/ghci/should_run/T16012.script
=====================================
@@ -3,4 +3,4 @@
 -- should always return a reasonably low result.
 
 n <- System.Mem.getAllocationCounter
-if (n < 0 && n >= -160000) then putStrLn "Alloction counter in expected range" else (putStrLn $ "Unexpected allocation counter result:" ++ show n)
+if (n < 0 && n >= -200000) then putStrLn "Allocation counter in expected range" else (putStrLn $ "Unexpected allocation counter result:" ++ show n)


=====================================
testsuite/tests/ghci/should_run/T16012.stdout
=====================================
@@ -1 +1 @@
-Alloction counter in expected range
+Allocation counter in expected range



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/30c6583356d13284f470f9104d6838bb0a7a6f3b

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/30c6583356d13284f470f9104d6838bb0a7a6f3b
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/20201203/1a2c4cea/attachment.html>


More information about the ghc-commits mailing list