projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4059e14
)
creduce-clang-crash: add -F flag to grep to avoid interpreting string as regex
author
Amy Huang
<akhuang@google.com>
Thu, 25 Apr 2019 18:00:25 +0000
(18:00 +0000)
committer
Amy Huang
<akhuang@google.com>
Thu, 25 Apr 2019 18:00:25 +0000
(18:00 +0000)
llvm-svn: 359216
clang/utils/creduce-clang-crash.py
patch
|
blob
|
history
diff --git
a/clang/utils/creduce-clang-crash.py
b/clang/utils/creduce-clang-crash.py
index
40d3c77
..
be16211
100644
(file)
--- a/
clang/utils/creduce-clang-crash.py
+++ b/
clang/utils/creduce-clang-crash.py
@@
-187,7
+187,7
@@
class Reduce(object):
(pipes.quote(not_cmd), crash_flag, quote_cmd(self.get_crash_cmd()))
for msg in self.expected_output:
- output += 'grep %s t.log || exit 1\n' % pipes.quote(msg)
+ output += 'grep
-F
%s t.log || exit 1\n' % pipes.quote(msg)
write_to_script(output, self.testfile)
self.check_interestingness()