[commit: ghc] master: testsuite: Mark readFail032 and readFail048 as broken on Darwin (73d9cad)

git at git.haskell.org git at git.haskell.org
Fri Sep 21 16:19:09 UTC 2018


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

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

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

commit 73d9cade32105b3e9c13ed1936c2e48407355a94
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Sep 21 12:16:35 2018 -0400

    testsuite: Mark readFail032 and readFail048 as broken on Darwin
    
    It looks like Clang's CPP implementation has an off-by-one error here.


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

73d9cade32105b3e9c13ed1936c2e48407355a94
 testsuite/tests/parser/should_fail/all.T | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/parser/should_fail/all.T b/testsuite/tests/parser/should_fail/all.T
index 8233d76..c655827 100644
--- a/testsuite/tests/parser/should_fail/all.T
+++ b/testsuite/tests/parser/should_fail/all.T
@@ -35,7 +35,8 @@ test('readFail028', normal, compile_fail, [''])
 test('readFail029', normal, compile_fail, [''])
 test('readFail030', normal, compile_fail, [''])
 test('readFail031', normal, compile_fail, [''])
-test('readFail032', normal, compile_fail, ['-cpp'])
+test('readFail032', when(opsys('darwin', expect_broken(15662))),
+     compile_fail, ['-cpp'])
 test('readFail033', normal, compile_fail, [''])
 test('readFail034', normal, compile_fail, [''])
 test('readFail035', normal, compile_fail, [''])
@@ -50,7 +51,8 @@ test('readFail043', normal, compile_fail, [''])
 test('readFail044', normal, compile_fail, [''])
 test('readFail046', normal, compile_fail, [''])
 test('readFail047', normal, compile_fail, [''])
-test('readFail048', normal, compile_fail, ['-cpp -haddock'])
+test('readFail048', when(opsys('darwin', expect_broken(15662))),
+     compile_fail, ['-cpp -haddock'])
 test('T3095', normal, compile_fail, [''])
 test('T3153', normal, compile_fail, [''])
 test('T3751', normal, compile_fail, [''])



More information about the ghc-commits mailing list