From: Thomas Schwinge Date: Tue, 30 Jun 2020 05:23:03 +0000 (+0200) Subject: [testsuite] Adjust 'scoff' for HSA offloading X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01dd58659faae3d6292c458cd9cf96dfd4cf7198;p=gcc.git [testsuite] Adjust 'scoff' for HSA offloading Fix-up for commit efc16503ca10bc0e934e0bace5777500e4dc757a "handle dumpbase in offloading, adjust testsuite". gcc/testsuite/ * lib/scanoffload.exp (scoff) : Skip HSA. --- diff --git a/gcc/testsuite/lib/scanoffload.exp b/gcc/testsuite/lib/scanoffload.exp index ec0d7a605eb..1a26e44113e 100644 --- a/gcc/testsuite/lib/scanoffload.exp +++ b/gcc/testsuite/lib/scanoffload.exp @@ -39,6 +39,9 @@ proc scoff { args } { } else { global offload_targets foreach target [split $offload_targets ","] { + # HSA offloading is doing things differently, doesn't use 'mkoffload'. + if { "$target" == "hsa" } continue + eval $prc [lreplace $args $idx $idx "[scoff-format $target [lindex $args $idx]]"] } }