diff options
author | Alp Toker <alp@nuanti.com> | 2013-11-05 12:45:43 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-11-05 12:45:43 +0000 |
commit | f80de76ca9af2af24cea44c0a6ad36caaa8370c6 (patch) | |
tree | e5633d6b85155ac31099b2797c903879b15dd4ca | |
parent | f9cabd9ddb711b0710a5733aaff45776b71b5052 (diff) | |
download | bcm5719-llvm-f80de76ca9af2af24cea44c0a6ad36caaa8370c6.tar.gz bcm5719-llvm-f80de76ca9af2af24cea44c0a6ad36caaa8370c6.zip |
Make test run reliably
llc waits for input on stdin, which was not provided in this test. It
was running only thanks to a quirk in the way lit concatenates
commands.
llvm-svn: 194071
-rw-r--r-- | clang/test/Preprocessor/iwithprefix.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/Preprocessor/iwithprefix.c b/clang/test/Preprocessor/iwithprefix.c index 28ced43b473..59935ac1b8b 100644 --- a/clang/test/Preprocessor/iwithprefix.c +++ b/clang/test/Preprocessor/iwithprefix.c @@ -4,9 +4,8 @@ // RUN: mkdir -p %t.tmps/first %t.tmps/second // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ // RUN: -iprefix %t.tmps/ -iwithprefix second \ -// RUN: -isystem %t.tmps/first -v 2> %t.out -// RUN: cat %t.out -// RUN: FileCheck < %t.out %s +// RUN: -isystem %t.tmps/first -v %s 2> %t.out +// RUN: FileCheck %s < %t.out // CHECK: #include <...> search starts here: // CHECK: {{.*}}.tmps/first |