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/programs/joao-circular | |
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/programs/joao-circular')
-rw-r--r-- | testsuite/tests/programs/joao-circular/test.T | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/programs/joao-circular/test.T b/testsuite/tests/programs/joao-circular/test.T index 3f229ab47b..3fbf054790 100644 --- a/testsuite/tests/programs/joao-circular/test.T +++ b/testsuite/tests/programs/joao-circular/test.T @@ -1,5 +1,6 @@ test('joao-circular', [when(fast(), skip), + when(doing_ghci(), extra_hc_opts('-fobject-code')), extra_clean(['Data_Lazy.hi', 'Data_Lazy.o', 'Funcs_Lexer.hi', 'Funcs_Lexer.o', 'Funcs_Parser_Lazy.hi', 'Funcs_Parser_Lazy.o', |