diff options
author | Sergei Trofimovich <siarheit@google.com> | 2015-06-20 10:24:40 +0100 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2015-06-20 10:57:21 +0100 |
commit | 2c6a0411dcd921ea6ec1cbe5eaf93d17adcf33a2 (patch) | |
tree | 4f5fa405a2a5379fce8be4af868e360041fe9f13 /testsuite/tests/codeGen/should_run/all.T | |
parent | 7c2293a07fb057e492278f46e8fde48b69d178a3 (diff) | |
download | haskell-2c6a0411dcd921ea6ec1cbe5eaf93d17adcf33a2.tar.gz |
Fix a couple of tests for GHCi/-O* (Trac #10052)
Tests use unboxed types (or optimizer gets to them),
those can't be handled by ghci. Fixed by using -fobject-code.
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'testsuite/tests/codeGen/should_run/all.T')
-rw-r--r-- | testsuite/tests/codeGen/should_run/all.T | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T index 59e4dca6b2..9125f0bd2d 100644 --- a/testsuite/tests/codeGen/should_run/all.T +++ b/testsuite/tests/codeGen/should_run/all.T @@ -119,7 +119,8 @@ test('CgStaticPointers', , when(doing_ghci(), extra_hc_opts('-fobject-code')) ], compile_and_run, ['']) -test('StaticArraySize', normal, compile_and_run, ['-O2']) +test('StaticArraySize', [when(doing_ghci(), extra_hc_opts('-fobject-code'))], + compile_and_run, ['-O2']) test('StaticByteArraySize', normal, compile_and_run, ['-O2']) test('CopySmallArray', normal, compile_and_run, ['']) test('CopySmallArrayStressTest', reqlib('random'), compile_and_run, ['']) |