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:
0e13a03
)
[libc++] Get rid of pipe in command to check whether verify is supported
author
Louis Dionne
<ldionne@apple.com>
Fri, 24 Apr 2020 19:29:42 +0000
(15:29 -0400)
committer
Louis Dionne
<ldionne@apple.com>
Fri, 24 Apr 2020 19:30:25 +0000
(15:30 -0400)
libcxx/utils/libcxx/test/newformat.py
patch
|
blob
|
history
diff --git
a/libcxx/utils/libcxx/test/newformat.py
b/libcxx/utils/libcxx/test/newformat.py
index
a494fb0
..
ed5da61
100644
(file)
--- a/
libcxx/utils/libcxx/test/newformat.py
+++ b/
libcxx/utils/libcxx/test/newformat.py
@@
-149,7
+149,7
@@
class CxxStandardLibraryTest(lit.formats.TestFormat):
# Determine whether clang-verify is supported.
def _supportsVerify(self, test):
- command = "
echo | %{cxx} -xc++ - -Werror -fsyntax-only -Xclang -verify-ignore-unexpected"
+ command = "
%{{cxx}} -xc++ {} -Werror -fsyntax-only -Xclang -verify-ignore-unexpected".format(os.devnull)
command = lit.TestRunner.applySubstitutions([command], test.config.substitutions,
recursion_limit=test.config.recursiveExpansionLimit)[0]
devNull = open(os.devnull, 'w')