Skip print-map-discarded test for non-ELF targets
authorFaraz Shahbazker <fshahbazker@wavecomp.com>
Mon, 15 Apr 2019 15:48:42 +0000 (08:48 -0700)
committerFaraz Shahbazker <fshahbazker@wavecomp.com>
Mon, 15 Apr 2019 15:48:42 +0000 (08:48 -0700)
ld/
* testsuite/ld-gc/gc.exp: Skip print-map-discarded test
for non-ELF targets.

ld/ChangeLog
ld/testsuite/ld-gc/gc.exp

index 869d8e3..81dc36a 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-15  Faraz Shahbazker  <fshahbazker@wavecomp.com>
+
+       * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
+       targets.
+
 2019-04-15  Sudakshina Das  <sudi.das@arm.com>
 
        * testsuite/ld-arm/bfcsel.s: New.
index 13968cc..422c3c3 100644 (file)
@@ -172,4 +172,6 @@ if { [is_elf_format] && [check_shared_lib_support] \
     run_dump_test "pr20306"
 }
 
-run_dump_test "skip-map-discarded"
+if { [is_elf_format] } then {
+    run_dump_test "skip-map-discarded"
+}