[Driver][test] Don't check the version in the triple

On a macOS host the version may be different.

Fix: 9f77facfce3ca23213c1de2e3e4c969b5187e29d
This commit is contained in:
Fangrui Song 2023-09-11 10:17:08 -07:00
parent 1b235b087b
commit b40a5bead2

View File

@ -62,4 +62,4 @@
// RUN: not %clang --target=powerpc-apple-darwin -o /dev/null %s 2> %t.err
// RUN: FileCheck --input-file=%t.err --check-prefix=CHECK-PPCMAC %s
// CHECK-PPCMAC: error: unknown target triple 'unknown-apple-macosx10.4.0'{{$}}
// CHECK-PPCMAC: error: unknown target triple 'unknown-apple-macosx{{.*}}'