Author: mgrang Date: Tue Oct 18 14:22:20 2016 New Revision: 284517 URL: http://llvm.org/viewvc/llvm-project?rev=284517&view=rev Log: Fix clang tests
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 Modified: cfe/trunk/test/Driver/mips-cs.cpp cfe/trunk/test/Driver/mips-fsf.cpp cfe/trunk/test/Driver/mips-img-v2.cpp cfe/trunk/test/Driver/mips-img.cpp cfe/trunk/test/Driver/sysroot.c Modified: cfe/trunk/test/Driver/mips-cs.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-cs.cpp?rev=284517&r1=284516&r2=284517&view=diff ============================================================================== --- cfe/trunk/test/Driver/mips-cs.cpp (original) +++ cfe/trunk/test/Driver/mips-cs.cpp Tue Oct 18 14:22:20 2016 @@ -1,3 +1,5 @@ +// REQUIRES: mips-registered-target +// // Check frontend and linker invocations on Mentor Graphics MIPS toolchain. // // = Big-endian, hard float Modified: cfe/trunk/test/Driver/mips-fsf.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-fsf.cpp?rev=284517&r1=284516&r2=284517&view=diff ============================================================================== --- cfe/trunk/test/Driver/mips-fsf.cpp (original) +++ cfe/trunk/test/Driver/mips-fsf.cpp Tue Oct 18 14:22:20 2016 @@ -1,3 +1,5 @@ +// REQUIRES: mips-registered-target + // Check frontend and linker invocations on FSF MIPS toolchain. // // = Big-endian, mips32, hard float Modified: cfe/trunk/test/Driver/mips-img-v2.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-img-v2.cpp?rev=284517&r1=284516&r2=284517&view=diff ============================================================================== --- cfe/trunk/test/Driver/mips-img-v2.cpp (original) +++ cfe/trunk/test/Driver/mips-img-v2.cpp Tue Oct 18 14:22:20 2016 @@ -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 Modified: cfe/trunk/test/Driver/mips-img.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-img.cpp?rev=284517&r1=284516&r2=284517&view=diff ============================================================================== --- cfe/trunk/test/Driver/mips-img.cpp (original) +++ cfe/trunk/test/Driver/mips-img.cpp Tue Oct 18 14:22:20 2016 @@ -1,3 +1,5 @@ +// REQUIRES: mips-registered-target + // Check frontend and linker invocations on the IMG MIPS toolchain. // // = Big-endian, mips32r6 Modified: cfe/trunk/test/Driver/sysroot.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/sysroot.c?rev=284517&r1=284516&r2=284517&view=diff ============================================================================== --- cfe/trunk/test/Driver/sysroot.c (original) +++ cfe/trunk/test/Driver/sysroot.c Tue Oct 18 14:22:20 2016 @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits