Restrict test arch-specific-libdir.c to Linux

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
This commit is contained in:
Pirama Arumuga Nainar 2017-03-03 23:48:15 +00:00
parent ffe40dd69e
commit 07215cce89
1 changed files with 2 additions and 0 deletions

View File

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