Skip to content

Commit

Permalink
Fix clang tests
Browse files Browse the repository at this point in the history
Summary:
Add REQUIRES for target specific tests.

Patch by Azharuddin Mohammed.

Reviewers: apazos, weimingz, rsmith, ddunbar, spop, mgrang

Subscribers: sebpop, llvm-commits

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

llvm-svn: 284517
  • Loading branch information
Mandeep Singh Grang committed Oct 18, 2016
1 parent 642f799 commit a506521
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/test/Driver/mips-cs.cpp
@@ -1,3 +1,5 @@
// REQUIRES: mips-registered-target
//
// Check frontend and linker invocations on Mentor Graphics MIPS toolchain.
//
// = Big-endian, hard float
Expand Down
2 changes: 2 additions & 0 deletions clang/test/Driver/mips-fsf.cpp
@@ -1,3 +1,5 @@
// REQUIRES: mips-registered-target

// Check frontend and linker invocations on FSF MIPS toolchain.
//
// = Big-endian, mips32, hard float
Expand Down
2 changes: 2 additions & 0 deletions clang/test/Driver/mips-img-v2.cpp
@@ -1,3 +1,5 @@
// REQUIRES: mips-registered-target

// Check frontend and linker invocations on the IMG v2 MIPS toolchain.

// -EB -mips32r6 -mhard-float -mabi=32
Expand Down
2 changes: 2 additions & 0 deletions clang/test/Driver/mips-img.cpp
@@ -1,3 +1,5 @@
// REQUIRES: mips-registered-target

// Check frontend and linker invocations on the IMG MIPS toolchain.
//
// = Big-endian, mips32r6
Expand Down
2 changes: 2 additions & 0 deletions clang/test/Driver/sysroot.c
@@ -1,3 +1,5 @@
// REQUIRES: x86-registered-target
//
// Check that --sysroot= also applies to header search paths.
// RUN: %clang -target i386-unk-unk --sysroot=/FOO -### -E %s 2> %t1
// RUN: FileCheck --check-prefix=CHECK-SYSROOTEQ < %t1 %s
Expand Down

0 comments on commit a506521

Please sign in to comment.