Skip to content

Commit

Permalink
[libc++] Get rid of pipe in command to check whether verify is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Apr 24, 2020
1 parent 0e13a03 commit 4fd92cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/utils/libcxx/test/newformat.py
Expand Up @@ -149,7 +149,7 @@ def _checkBaseSubstitutions(self, substitutions):

# 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')
Expand Down

0 comments on commit 4fd92cc

Please sign in to comment.