[commit: ghc] master: Mark test case for #10294 conditionally expect_broken on #10301 (8e6a503)

git at git.haskell.org git at git.haskell.org
Wed Jul 15 08:41:36 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8e6a50339a4a61d4f2cbec645c78abc85098a294/ghc

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

commit 8e6a50339a4a61d4f2cbec645c78abc85098a294
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed Jul 15 10:41:03 2015 +0200

    Mark test case for #10294 conditionally expect_broken on #10301
    
    the hypothesis is that it only breaks with `DYNAMIC_GHC_PROGRAMS = NO`,
    so use `unless(have_dynamic(),expect_broken(10301))` to not break the
    Phabricator build.


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

8e6a50339a4a61d4f2cbec645c78abc85098a294
 testsuite/tests/plugins/all.T | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/plugins/all.T b/testsuite/tests/plugins/all.T
index 7c52e07..473bed3 100644
--- a/testsuite/tests/plugins/all.T
+++ b/testsuite/tests/plugins/all.T
@@ -53,7 +53,7 @@ test('T10420',
 test('T10294',
      [pre_cmd('$MAKE -s --no-print-directory -C annotation-plugin package.T10294'),
       clean_cmd('$MAKE -s --no-print-directory -C annotation-plugin clean.T10294'),
-      expect_broken(10301)],
+      when(have_dynamic(),expect_broken(10301))],
      run_command,
      ['$MAKE -s --no-print-directory T10294'])
 



More information about the ghc-commits mailing list