summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-12-11 17:44:43 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-11 18:19:46 -0500
commit4faab14bcf8a892414306a61bcde02d82cf735be (patch)
tree8eef00e7220428909d2ece30c9f063634b496f6d /testsuite/tests/driver
parente98d220601fb12a7ccbdf46474cd2dbb2c3e642e (diff)
downloadhaskell-4faab14bcf8a892414306a61bcde02d82cf735be.tar.gz
testsuite: Skip T703 on non-Linux platforms
While the test is in principle applicable to many platforms, the current implementation requires readelf, which we can only assume is present on ELF-based platforms (e.g. Linux). See Trac #703.
Diffstat (limited to 'testsuite/tests/driver')
-rw-r--r--testsuite/tests/driver/all.T4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/driver/all.T b/testsuite/tests/driver/all.T
index a33dba1c50..02eeeb321b 100644
--- a/testsuite/tests/driver/all.T
+++ b/testsuite/tests/driver/all.T
@@ -198,7 +198,9 @@ test('T8959a',
run_command,
['$MAKE -s --no-print-directory T8959a'])
-test('T703', normal, run_command, ['$MAKE -s --no-print-directory T703'])
+# Requires readelf
+test('T703', unless(opsys('linux'), skip),
+ run_command, ['$MAKE -s --no-print-directory T703'])
test('T2182', normal, run_command, ['$MAKE -s --no-print-directory T2182'])
test('T8101', normal, compile, ['-Wall -fno-code'])
test('T8101b', normal, multimod_compile,