[clang] 2de36d0 - [clang][driver] Only run multi-arch tests on Darwin
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 13 05:03:29 PDT 2022
Author: Jan Svoboda
Date: 2022-06-13T14:03:23+02:00
New Revision: 2de36d0369a5107a3f02aceebb55326adf4ad2cb
URL: https://github.com/llvm/llvm-project/commit/2de36d0369a5107a3f02aceebb55326adf4ad2cb
DIFF: https://github.com/llvm/llvm-project/commit/2de36d0369a5107a3f02aceebb55326adf4ad2cb.diff
LOG: [clang][driver] Only run multi-arch tests on Darwin
This fixes the test introduced in a85670001ba2487988839656299771915ebc7633 that causes failures on non-Darwin systems.
Added:
Modified:
clang/test/Driver/compilation_database_multiarch.c
Removed:
################################################################################
diff --git a/clang/test/Driver/compilation_database_multiarch.c b/clang/test/Driver/compilation_database_multiarch.c
index b64e0265a3ff..86401503aa17 100644
--- a/clang/test/Driver/compilation_database_multiarch.c
+++ b/clang/test/Driver/compilation_database_multiarch.c
@@ -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
More information about the cfe-commits
mailing list