[testsuite] Adjust 'scoff' for HSA offloading
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 30 Jun 2020 05:23:03 +0000 (07:23 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 30 Jun 2020 15:48:36 +0000 (17:48 +0200)
Fix-up for commit efc16503ca10bc0e934e0bace5777500e4dc757a "handle dumpbase in
offloading, adjust testsuite".

gcc/testsuite/
* lib/scanoffload.exp (scoff) <offload_targets>: Skip HSA.

gcc/testsuite/lib/scanoffload.exp

index ec0d7a605eb3cb9ac31b7a99cffeb8ce24cc2343..1a26e44113e26651291ad7a3e6c7ae184abec394 100644 (file)
@@ -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]]"]
        }
     }