From 97c33d66f60b64365d7f38c5163adedd3953eb53 Mon Sep 17 00:00:00 2001 From: Mandeep Singh Grang Date: Tue, 27 Nov 2018 19:13:52 +0000 Subject: [PATCH] Revert "[RISCV] Mark unit tests as "requires: riscv-registered-target"" This reverts commit 1a6a0c9ea2716378d55858c11adf5941608531f8. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347689 91177308-0d34-0410-b5e6-96231b3b80d8 --- {Driver => test/Driver}/riscv-abi.c | 2 -- {Driver => test/Driver}/riscv-arch.c | 2 -- {Driver => test/Driver}/riscv-features.c | 2 -- {Driver => test/Driver}/riscv-gnutools.c | 2 -- {Driver => test/Driver}/riscv32-toolchain.c | 2 -- {Driver => test/Driver}/riscv64-toolchain.c | 2 -- 6 files changed, 12 deletions(-) rename {Driver => test/Driver}/riscv-abi.c (97%) rename {Driver => test/Driver}/riscv-arch.c (99%) rename {Driver => test/Driver}/riscv-features.c (94%) rename {Driver => test/Driver}/riscv-gnutools.c (95%) rename {Driver => test/Driver}/riscv32-toolchain.c (99%) rename {Driver => test/Driver}/riscv64-toolchain.c (98%) diff --git a/Driver/riscv-abi.c b/test/Driver/riscv-abi.c similarity index 97% rename from Driver/riscv-abi.c rename to test/Driver/riscv-abi.c index de8c991b80..8b79c8462b 100644 --- a/Driver/riscv-abi.c +++ b/test/Driver/riscv-abi.c @@ -1,5 +1,3 @@ -// REQUIRES: riscv-registered-target - // RUN: %clang -target riscv32-unknown-elf %s -### -o %t.o 2>&1 \ // RUN: | FileCheck -check-prefix=CHECK-ILP32 %s // RUN: %clang -target riscv32-unknown-elf %s -### -o %t.o -mabi=ilp32 2>&1 \ diff --git a/Driver/riscv-arch.c b/test/Driver/riscv-arch.c similarity index 99% rename from Driver/riscv-arch.c rename to test/Driver/riscv-arch.c index 205a1c8453..5329fe87aa 100644 --- a/Driver/riscv-arch.c +++ b/test/Driver/riscv-arch.c @@ -1,5 +1,3 @@ -// REQUIRES: riscv-registered-target - // RUN: %clang -target riscv32-unknown-elf -march=rv32i -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32im -### %s \ diff --git a/Driver/riscv-features.c b/test/Driver/riscv-features.c similarity index 94% rename from Driver/riscv-features.c rename to test/Driver/riscv-features.c index 35f3644837..95f84f31c6 100644 --- a/Driver/riscv-features.c +++ b/test/Driver/riscv-features.c @@ -1,5 +1,3 @@ -// REQUIRES: riscv-registered-target - // RUN: %clang -target riscv32-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s diff --git a/Driver/riscv-gnutools.c b/test/Driver/riscv-gnutools.c similarity index 95% rename from Driver/riscv-gnutools.c rename to test/Driver/riscv-gnutools.c index 123cde94ec..afcb5052aa 100644 --- a/Driver/riscv-gnutools.c +++ b/test/Driver/riscv-gnutools.c @@ -1,5 +1,3 @@ -// REQUIRES: riscv-registered-target - // Check gnutools are invoked with propagated values for -mabi and -march. // RUN: %clang -target riscv32 -fno-integrated-as %s -### -c \ diff --git a/Driver/riscv32-toolchain.c b/test/Driver/riscv32-toolchain.c similarity index 99% rename from Driver/riscv32-toolchain.c rename to test/Driver/riscv32-toolchain.c index e22b145040..9e8af3a8ff 100644 --- a/Driver/riscv32-toolchain.c +++ b/test/Driver/riscv32-toolchain.c @@ -1,5 +1,3 @@ -// REQUIRES: riscv-registered-target - // A basic clang -cc1 command-line, and simple environment check. // RUN: %clang %s -### -no-canonical-prefixes -target riscv32 2>&1 | FileCheck -check-prefix=CC1 %s diff --git a/Driver/riscv64-toolchain.c b/test/Driver/riscv64-toolchain.c similarity index 98% rename from Driver/riscv64-toolchain.c rename to test/Driver/riscv64-toolchain.c index f08ac8a572..44dcc937df 100644 --- a/Driver/riscv64-toolchain.c +++ b/test/Driver/riscv64-toolchain.c @@ -1,5 +1,3 @@ -// REQUIRES: riscv-registered-target - // A basic clang -cc1 command-line, and simple environment check. // RUN: %clang %s -### -no-canonical-prefixes -target riscv64 2>&1 | FileCheck -check-prefix=CC1 %s -- 2.40.0