diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2022-08-15 13:02:28 +0200 |
---|---|---|
committer | Andreas Klebinger <klebinger.andreas@gmx.at> | 2022-08-15 13:02:28 +0200 |
commit | 29658190e48e531933034c32b6981e1016c798aa (patch) | |
tree | 19ac1ba29e46472d277b40ad7094ad8ce7b57252 | |
parent | dca43a04fb36e0ae0ed61455f215660eed2856a9 (diff) | |
download | haskell-wip/andreask/compact-share.tar.gz |
Fix #21979 - compact-share failing with -Owip/andreask/compact-share
I don't have good reason to believe the optimization level should affect
if sharing works or not here. So limit the test to the normal way.
-rw-r--r-- | libraries/ghc-compact/tests/all.T | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ghc-compact/tests/all.T b/libraries/ghc-compact/tests/all.T index 21b6738903..92864e37bb 100644 --- a/libraries/ghc-compact/tests/all.T +++ b/libraries/ghc-compact/tests/all.T @@ -16,8 +16,8 @@ test('compact_pinned', exit_code(1), compile_and_run, ['']) test('compact_gc', [fragile_for(17253, ['ghci']), ignore_stdout], compile_and_run, ['']) # this test computes closure sizes and those are affected # by the ghci and prof ways, because of BCOs and profiling headers. -test('compact_share', omit_ways(['ghci', 'profasm', 'profthreaded']), - compile_and_run, ['']) +# Optimization levels slightly change what is/isn't shared so only run in normal mode +test('compact_share', only_ways(['normal']), compile_and_run, ['']) test('compact_bench', [ ignore_stdout, extra_run_opts('100') ], compile_and_run, ['']) test('T17044', normal, compile_and_run, ['']) |