[commit: ghc] master: testsuite: Specify expected allocations of T12877 for Windows (2940a61)

git at git.haskell.org git at git.haskell.org
Thu Dec 15 15:43:24 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2940a61722b5e5b35421b385dedf07f82c63557d/ghc

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

commit 2940a61722b5e5b35421b385dedf07f82c63557d
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Dec 14 16:51:54 2016 -0500

    testsuite: Specify expected allocations of T12877 for Windows
    
    This deviated by 12% from the expected allocations on Windows.
    Yet another case of #12758.


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

2940a61722b5e5b35421b385dedf07f82c63557d
 testsuite/tests/perf/compiler/all.T | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T
index 38cbdd0..ec59805 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -900,8 +900,12 @@ test('T12877',
           [(wordsize(64), 197582248, 5),
           # initial:      197582248 (Linux)
           ])
+
      , compiler_stats_num_field('bytes allocated',
-          [(wordsize(64), 135979000, 5),
+          [(platform('x86_64-unknown-mingw32'), 118644280, 5),
+          # initial:      118644280
+
+           (wordsize(64), 135979000, 5),
           # initial:      135979000 (Linux)
           ]),
      ],



More information about the ghc-commits mailing list