forked from OSchip/llvm-project
Fix quoting to allow shell expansion to occur for shell variables
introduced by the test harness' expansion of %t. llvm-svn: 154443
This commit is contained in:
parent
31176b1485
commit
606b5291e5
|
@ -1,6 +1,6 @@
|
|||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
// RUN: echo '[{"directory":".","command":"clang++ -c %t/test.cpp","file":"%t/test.cpp"}]' > %t/compile_commands.json
|
||||
// RUN: echo "[{\"directory\":\".\",\"command\":\"clang++ -c %t/test.cpp\",\"file\":\"%t/test.cpp\"}]" > %t/compile_commands.json
|
||||
// RUN: cp "%s" "%t/test.cpp"
|
||||
// RUN: PWD="%t" clang-check "%t" "test.cpp" 2>&1|FileCheck %s
|
||||
// FIXME: Make the above easier.
|
||||
|
|
Loading…
Reference in New Issue