From d2cbaf1755ffa90300365c0d71400a5ee4ada3bd Mon Sep 17 00:00:00 2001 From: Leonard Chan Date: Wed, 26 Feb 2020 12:23:15 -0800 Subject: [PATCH] Fix for the test failues introduced in https://reviews.llvm.org/D74704. --- clang/test/Driver/riscv32-toolchain-extra.c | 1 + clang/test/Driver/riscv64-toolchain-extra.c | 1 + 2 files changed, 2 insertions(+) diff --git a/clang/test/Driver/riscv32-toolchain-extra.c b/clang/test/Driver/riscv32-toolchain-extra.c index ff9842b..3182e0c 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 6b474e8..081fc67 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 -- 2.7.4