diff options
Diffstat (limited to 'testsuite/tests/perf')
-rw-r--r-- | testsuite/tests/perf/haddock/all.T | 9 | ||||
-rw-r--r-- | testsuite/tests/perf/should_run/all.T | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/testsuite/tests/perf/haddock/all.T b/testsuite/tests/perf/haddock/all.T index 9bd29ff8a8..dce0a648a1 100644 --- a/testsuite/tests/perf/haddock/all.T +++ b/testsuite/tests/perf/haddock/all.T @@ -3,7 +3,8 @@ # detect outliers, as described in Note [residency]. See #9556. test('haddock.base', - [unless(in_tree_compiler(), skip), req_haddock + [extra_files(['../../../../libraries/base/dist-install/haddock.t']), + unless(in_tree_compiler(), skip), req_haddock ,stats_num_field('bytes allocated', [(platform('x86_64-unknown-mingw32'), 24286343184, 5) # 2017-02-19 24286343184 (x64/Windows) - Generalize kind of (->) @@ -58,7 +59,8 @@ test('haddock.base', ['haddock.t']) test('haddock.Cabal', - [unless(in_tree_compiler(), skip), req_haddock + [extra_files(['../../../../libraries/Cabal/Cabal/dist-install/haddock.t']), + unless(in_tree_compiler(), skip), req_haddock ,stats_num_field('bytes allocated', [(wordsize(64), 18865432648, 5) # 2012-08-14: 3255435248 (amd64/Linux) @@ -124,7 +126,8 @@ test('haddock.Cabal', ['haddock.t']) test('haddock.compiler', - [unless(in_tree_compiler(), skip), req_haddock + [extra_files(['../../../../compiler/stage2/haddock.t']), + unless(in_tree_compiler(), skip), req_haddock ,stats_num_field('bytes allocated', [(wordsize(64), 62070477608, 10) # 2012-08-14: 26070600504 (amd64/Linux) diff --git a/testsuite/tests/perf/should_run/all.T b/testsuite/tests/perf/should_run/all.T index 6670f341a6..efcbb4a30b 100644 --- a/testsuite/tests/perf/should_run/all.T +++ b/testsuite/tests/perf/should_run/all.T @@ -70,7 +70,8 @@ test('T3245', [when(doing_ghci(), extra_hc_opts('-fobject-code'))], # a bug in hGetBufNonBlocking in 6.13 that triggered this. # test('lazy-bs-alloc', - [stats_num_field('peak_megabytes_allocated', (2, 1)), + [extra_files(['../../numeric/should_run/arith011.stdout']), + stats_num_field('peak_megabytes_allocated', (2, 1)), # expected value: 2 (amd64/Linux) stats_num_field('bytes allocated', [(wordsize(64), 421792, 5), |