[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 ec0d7a6..1a26e44 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]]"]
        }
     }