From 2e9e0c2951e8f9f167f28efb673f4045977d6bb0 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Tue, 6 May 2008 18:16:20 +0000 Subject: [PATCH] Move test files around a bit - fixes the reported number of test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50761 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/LLVMC/false.c | 2 +- test/LLVMC/{ => test_data}/false.cpp | 0 test/LLVMC/{ => test_data}/false2.cpp | 0 test/LLVMC/{ => test_data}/together.c | 0 test/LLVMC/together.cpp | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename test/LLVMC/{ => test_data}/false.cpp (100%) rename test/LLVMC/{ => test_data}/false2.cpp (100%) rename test/LLVMC/{ => test_data}/together.c (100%) diff --git a/test/LLVMC/false.c b/test/LLVMC/false.c index 69b400c59b0..4aa365d89a3 100644 --- a/test/LLVMC/false.c +++ b/test/LLVMC/false.c @@ -1,5 +1,5 @@ // Test that we can compile .c files as C++ and vice versa -// RUN: llvmc2 -x c++ %s -x c %p/false.cpp -x lisp -x whatnot -x none %p/false2.cpp -o %t +// RUN: llvmc2 -x c++ %s -x c %p/test_data/false.cpp -x lisp -x whatnot -x none %p/test_data/false2.cpp -o %t // RUN: ./%t | grep hello #include diff --git a/test/LLVMC/false.cpp b/test/LLVMC/test_data/false.cpp similarity index 100% rename from test/LLVMC/false.cpp rename to test/LLVMC/test_data/false.cpp diff --git a/test/LLVMC/false2.cpp b/test/LLVMC/test_data/false2.cpp similarity index 100% rename from test/LLVMC/false2.cpp rename to test/LLVMC/test_data/false2.cpp diff --git a/test/LLVMC/together.c b/test/LLVMC/test_data/together.c similarity index 100% rename from test/LLVMC/together.c rename to test/LLVMC/test_data/together.c diff --git a/test/LLVMC/together.cpp b/test/LLVMC/together.cpp index 97df1937524..09f8d86379c 100644 --- a/test/LLVMC/together.cpp +++ b/test/LLVMC/together.cpp @@ -1,5 +1,5 @@ // Check that we can compile files of different types together. -// RUN: llvmc2 %s %p/together.c -o %t +// RUN: llvmc2 %s %p/test_data/together.c -o %t // RUN: ./%t | grep hello extern "C" void test();