Skip to content

Commit d37e3ac

Browse files
authored
Merge pull request #93 from jchecahi/libclang_cpp-improve-robustness
libclang_cpp: Make the test more robust.
2 parents 4659a72 + f3cca29 commit d37e3ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/libclang_cpp.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
//
33
// REQUIRES: clang, llvm-config
44
// RUN: %clangxx -lclang-cpp -v %s -o %t `%llvm-config --cxxflags --ldflags --libs`
5-
// RUN: ldd %t 2>&1|grep -q libclang-cpp
5+
// RUN: ldd %t 2>&1 > %t.lddoutput
6+
// RUN: grep -q libclang-cpp %t.lddoutput
67

78
#include "clang/Tooling/CommonOptionsParser.h"
89
#include "llvm/Support/CommandLine.h"

0 commit comments

Comments
 (0)