[LLVMdev] make check-lit + grep escape characters

Stepan Dyatkovskiy stpworld at narod.ru
Thu May 24 00:12:47 PDT 2012


Hi all. I found that if you want to use grep with escape characters in 
lit, you should pass it within the double slash (\\). Since the first 
one is captured by python scripts and the second one by grep.
E.g. if you want to capture "grep icmp ule" you should pass
"grep icmp\\ ule"

So I'm going to commit the test with strings like this. How stable this 
feature in lit?

-Stepan.



More information about the llvm-dev mailing list