From 01dd58659faae3d6292c458cd9cf96dfd4cf7198 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 30 Jun 2020 07:23:03 +0200 Subject: [PATCH] [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. --- gcc/testsuite/lib/scanoffload.exp | 3 +++ 1 file changed, 3 insertions(+) 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]]"] } } -- 2.30.2