Restrict test arch-specific-libdir.c to Linux
authorPirama Arumuga Nainar <pirama@google.com>
Fri, 3 Mar 2017 23:48:15 +0000 (23:48 +0000)
committerPirama Arumuga Nainar <pirama@google.com>
Fri, 3 Mar 2017 23:48:15 +0000 (23:48 +0000)
Summary: This fails on Windows due to dependence on path separators.

Reviewers: rnk, srhines

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D30595

llvm-svn: 296929

clang/test/Driver/arch-specific-libdir.c

index 48196e6..3889b37 100644 (file)
@@ -1,6 +1,8 @@
 // Test that the driver adds an arch-specific subdirectory in
 // {RESOURCE_DIR}/lib/linux to the search path.
 //
+// REQUIRES: linux
+//
 // RUN: %clang %s -### 2>&1 -target i386-unknown-linux \
 // RUN:     -resource-dir=%S/Inputs/resource_dir_with_arch_subdir \
 // RUN:   | FileCheck --check-prefixes=FILEPATH,ARCHDIR-i386 %s