[PATCH] D30595: Restrict test arch-specific-libdir.c to Linux

Pirama Arumuga Nainar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 15:56:42 PST 2017


pirama created this revision.

This fails on Windows due to dependence on path separators.


https://reviews.llvm.org/D30595

Files:
  test/Driver/arch-specific-libdir.c


Index: test/Driver/arch-specific-libdir.c
===================================================================
--- test/Driver/arch-specific-libdir.c
+++ test/Driver/arch-specific-libdir.c
@@ -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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30595.90547.patch
Type: text/x-patch
Size: 536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170303/3daa1327/attachment.bin>


More information about the llvm-commits mailing list