[PATCH] Fixes test failure on darwin introduced by r188274
Edwin Vane
edwin.vane at intel.com
Tue Aug 13 10:12:41 PDT 2013
================
Comment at: test/cpp11-migrate/HeaderReplacements/main.cpp:14
@@ -14,1 +13,3 @@
+// RUN: sed -e 's#$(path)#%t/Test#g' %S/common.h.yaml > %t/Test/main.cpp_common.h.yaml
+// RUN: sed -i -e 's#\\#/#g' %t/Test/main.cpp_common.h_*.yaml
// RUN: diff -b %t/Test/main.cpp_common.h.yaml %t/Test/main.cpp_common.h_*.yaml
----------------
Since you're already using `-e` just merge these two sed commands together:
sed -e 's#$(path)#%t/Test#g' -e 's#\\#/#g' ...
Can apply this below as well to simplify the script.
http://llvm-reviews.chandlerc.com/D1381
BRANCH
svn
ARCANIST PROJECT
clang-tools-extra
More information about the cfe-commits
mailing list