From f80de76ca9af2af24cea44c0a6ad36caaa8370c6 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Tue, 5 Nov 2013 12:45:43 +0000 Subject: 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 --- clang/test/Preprocessor/iwithprefix.c | 5 ++--- 1 file 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 -- cgit v1.2.3