forked from OSchip/llvm-project
Following the example from loop-convert tests, simplifying the remove-cstr-calls lit script.
Patch by Edwin Vane. llvm-svn: 167390
This commit is contained in:
parent
23e05e4e9a
commit
61a928720a
|
@ -1,12 +1,7 @@
|
||||||
// RUN: rm -rf %t
|
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
|
||||||
// RUN: mkdir %t
|
// RUN: remove-cstr-calls . %t.cpp --
|
||||||
// RUN: echo "[{\"directory\":\".\",\"command\":\"clang++ -c %t/test.cpp\",\"file\":\"%t/test.cpp\"}]" | sed -e 's/\\/\//g' > %t/compile_commands.json
|
// RUN: FileCheck -input-file=%t.cpp %s
|
||||||
// RUN: cp "%s" "%t/test.cpp"
|
|
||||||
// RUN: remove-cstr-calls "%t" "%t/test.cpp"
|
|
||||||
// RUN: cat "%t/test.cpp" | FileCheck %s
|
|
||||||
// REQUIRES: shell
|
// REQUIRES: shell
|
||||||
// FIXME: implement a mode for refactoring tools that takes input from stdin
|
|
||||||
// and writes output to stdout for easier testing of tools.
|
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
template<typename T> class allocator {};
|
template<typename T> class allocator {};
|
||||||
|
|
Loading…
Reference in New Issue