From: Thomas Schwinge Date: Tue, 30 Jun 2020 05:23:03 +0000 (+0200) Subject: [testsuite] Adjust 'scoff' for HSA offloading X-Git-Tag: upstream/12.2.0~15217 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01dd58659faae3d6292c458cd9cf96dfd4cf7198;p=platform%2Fupstream%2Fgcc.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 ec0d7a6..1a26e44 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]]"] } }