[commit: ghc] wip/T9281: Tweak testoutput normaliser to recognize `integer-gmp2` (8da743a)

git at git.haskell.org git at git.haskell.org
Wed Jul 23 14:22:53 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T9281
Link       : http://ghc.haskell.org/trac/ghc/changeset/8da743a02603eb4bde9ea51e0c7c3e635d2e0d6d/ghc

>---------------------------------------------------------------

commit 8da743a02603eb4bde9ea51e0c7c3e635d2e0d6d
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Jul 23 16:22:27 2014 +0200

    Tweak testoutput normaliser to recognize `integer-gmp2`


>---------------------------------------------------------------

8da743a02603eb4bde9ea51e0c7c3e635d2e0d6d
 testsuite/driver/testlib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 126c8e4..6286d84 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -1588,7 +1588,7 @@ def normalise_errmsg( str ):
     # We sometimes see the name of the integer-gmp package on stderr,
     # but this can change (either the implementation name or the
     # version number), so we canonicalise it here
-    str = re.sub('integer-[a-z]+', 'integer-impl', str)
+    str = re.sub('integer-[a-z0-9]+', 'integer-impl', str)
     return str
 
 # normalise a .prof file, so that we can reasonably compare it against



More information about the ghc-commits mailing list