[LLD] Convert a test to use 'target=...' instead of triple check
authorPaul Robinson <paul.robinson@sony.com>
Fri, 9 Dec 2022 19:52:47 +0000 (11:52 -0800)
committerPaul Robinson <paul.robinson@sony.com>
Fri, 9 Dec 2022 19:53:07 +0000 (11:53 -0800)
Part of the project to eliminate special handling for triples in lit
expressions.

lld/test/MachO/invalid/stub-link.s

index effdca7..dc07a96 100644 (file)
@@ -1,7 +1,7 @@
 ## FIXME: This test seems to be failing on some Google Mac buildbots for
 ## unclear reasons, so it's disabled for now. See D85404 for details.
-# UNSUPPORTED: darwin
-# REQUIRES: x86
+# UNSUPPORTED: target={{.*}}-darwin{{.*}}
+# REQUIRES: target=x86{{.*}}
 
 # RUN: mkdir -p %t
 #