[clang] d2cbaf1 - Fix for the test failues introduced in https://reviews.llvm.org/D74704.

Leonard Chan via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 12:23:46 PST 2020


Author: Leonard Chan
Date: 2020-02-26T12:23:15-08:00
New Revision: d2cbaf1755ffa90300365c0d71400a5ee4ada3bd

URL: https://github.com/llvm/llvm-project/commit/d2cbaf1755ffa90300365c0d71400a5ee4ada3bd
DIFF: https://github.com/llvm/llvm-project/commit/d2cbaf1755ffa90300365c0d71400a5ee4ada3bd.diff

LOG: Fix for the test failues introduced in https://reviews.llvm.org/D74704.

Added: 
    

Modified: 
    clang/test/Driver/riscv32-toolchain-extra.c
    clang/test/Driver/riscv64-toolchain-extra.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/riscv32-toolchain-extra.c b/clang/test/Driver/riscv32-toolchain-extra.c
index ff9842b37c02..3182e0cfc1ae 100644
--- a/clang/test/Driver/riscv32-toolchain-extra.c
+++ b/clang/test/Driver/riscv32-toolchain-extra.c
@@ -11,6 +11,7 @@
 // The test below checks that the driver correctly finds the linker and
 // runtime if and only if they exist.
 //
+// REQUIRES: platform-linker
 // RUN: mkdir -p %T/testroot-riscv32-baremetal-nogcc/bin
 // RUN: [ ! -s %T/testroot-riscv32-baremetal-nogcc/bin/clang ] || rm %T/testroot-riscv32-baremetal-nogcc/bin/clang
 // RUN: [ ! -s %T/testroot-riscv32-baremetal-nogcc/bin/riscv32-unknown-elf-ld ] || rm %T/testroot-riscv32-baremetal-nogcc/bin/riscv32-unknown-elf-ld

diff  --git a/clang/test/Driver/riscv64-toolchain-extra.c b/clang/test/Driver/riscv64-toolchain-extra.c
index 6b474e88f473..081fc67e01cf 100644
--- a/clang/test/Driver/riscv64-toolchain-extra.c
+++ b/clang/test/Driver/riscv64-toolchain-extra.c
@@ -11,6 +11,7 @@
 // The test below checks that the driver correctly finds the linker and
 // runtime if and only if they exist.
 //
+// REQUIRES: platform-linker
 // RUN: mkdir -p %T/testroot-riscv64-baremetal-nogcc/bin
 // RUN: [ ! -s %T/testroot-riscv64-baremetal-nogcc/bin/clang ] || rm %T/testroot-riscv64-baremetal-nogcc/bin/clang
 // RUN: [ ! -s %T/testroot-riscv64-baremetal-nogcc/bin/riscv64-unknown-elf-ld ] || rm %T/testroot-riscv64-baremetal-nogcc/bin/riscv64-unknown-elf-ld


        


More information about the cfe-commits mailing list