[commit: ghc] master: testsuite: Fix use of stats_num_field (a6b4da8)

git at git.haskell.org git at git.haskell.org
Fri Dec 7 15:16:31 UTC 2018


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

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

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

commit a6b4da8cd2e60618ae1819fbfc992b4958e40006
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Dec 7 10:14:25 2018 -0500

    testsuite: Fix use of stats_num_field
    
    This is now collect_stats.


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

a6b4da8cd2e60618ae1819fbfc992b4958e40006
 testsuite/tests/perf/should_run/all.T | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/testsuite/tests/perf/should_run/all.T b/testsuite/tests/perf/should_run/all.T
index d700fd5..6095317 100644
--- a/testsuite/tests/perf/should_run/all.T
+++ b/testsuite/tests/perf/should_run/all.T
@@ -352,8 +352,7 @@ test('T15226a',
     ['-O'])
 
 test('T15263',
-    [stats_num_field('bytes allocated',
-                    [(wordsize(64), 1382184, 4)]),
+    [collect_stats('bytes allocated', 4),
      only_ways(['normal'])],
     compile_and_run,
     ['-O'])



More information about the ghc-commits mailing list