Mark test case for #10294 conditionally expect_broken on #10301
authorJoachim Breitner <mail@joachim-breitner.de>
Wed, 15 Jul 2015 08:41:03 +0000 (10:41 +0200)
committerJoachim Breitner <mail@joachim-breitner.de>
Wed, 15 Jul 2015 08:41:03 +0000 (10:41 +0200)
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.

testsuite/tests/plugins/all.T

index 7c52e07..473bed3 100644 (file)
@@ -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'])