summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/recomp015
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2015-12-11 22:41:23 +0100
committerBen Gamari <ben@smart-cactus.org>2015-12-11 22:41:23 +0100
commitceaf0f4683a3e0ba85ae420956cfc394824e9a38 (patch)
treecc5a208088cbb67bbf9a8da3f7a82fba9bf8afe2 /testsuite/tests/driver/recomp015
parentb1382481ac14a9f8999321581eaf88148bd44415 (diff)
downloadhaskell-ceaf0f4683a3e0ba85ae420956cfc394824e9a38.tar.gz
testsuite: Only run recomp015 on ELF-based platforms
It fails on OS X with hundreds of messages of the form, ``` ManySections.s:196576:10: error: error: mach-o section specifier uses an unknown section type .section s65525,"",@progbits ^ ManySections.s:196579:10: error: error: mach-o section specifier uses an unknown section type .section s65526,"",@progbits ``` It fails on Windows with messages of the form, ``` ManySections.s:196579:10: error: Error: junk at the end of line, first unrecognized character is ',' ``` Test Plan: Validate Reviewers: hsyl20, thomie, austin Reviewed By: thomie, austin Differential Revision: https://phabricator.haskell.org/D1601 GHC Trac Issues: #11022
Diffstat (limited to 'testsuite/tests/driver/recomp015')
-rw-r--r--testsuite/tests/driver/recomp015/all.T3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/driver/recomp015/all.T b/testsuite/tests/driver/recomp015/all.T
index ff86cafa38..4ab3e888a0 100644
--- a/testsuite/tests/driver/recomp015/all.T
+++ b/testsuite/tests/driver/recomp015/all.T
@@ -1,7 +1,8 @@
# Test for the ELF parser: more than 0xff00 sections (use different ELF fields)
test('recomp015',
- [ clean_cmd('$MAKE -s clean') ],
+ [ clean_cmd('$MAKE -s clean'),
+ unless(opsys('linux') or opsys('solaris2') or opsys('openbsd'), skip)],
run_command,
['$MAKE -s --no-print-directory recomp015'])