[clang][driver] Only run multi-arch tests on Darwin

This fixes the test introduced in a85670001b that causes failures on non-Darwin systems.
This commit is contained in:
Jan Svoboda 2022-06-13 14:03:02 +02:00
parent b422dac240
commit 2de36d0369
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// REQUIRES: system-darwin
// RUN: rm -rf %t && mkdir -p %t
// RUN: %clang -fdriver-only -o %t/out %s -mtargetos=macos12 -arch arm64 -arch x86_64 -MJ %t/compilation_database.json
// RUN: FileCheck --input-file=%t/compilation_database.json %s