Commit ceaf0f46 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

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
parent b1382481
# 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'])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment