forked from OSchip/llvm-project
Andrew Morrow: The attached patch updates the lit.config for libc++ unit tests so
that the valgrind configuration passed to lit.py is used to run .pass tests. llvm-svn: 161193
This commit is contained in:
parent
4df0a6adf6
commit
c1a45fb70f
|
@ -83,6 +83,8 @@ class LibcxxTestFormat(lit.formats.FileBasedTest):
|
|||
return lit.Test.FAIL, report
|
||||
|
||||
cmd = [exec_path]
|
||||
if lit_config.useValgrind:
|
||||
cmd = lit_config.valgrindArgs + cmd
|
||||
out, err, exitCode = self.execute_command(cmd)
|
||||
if exitCode != 0:
|
||||
report = """Compiled With: %s\n""" % ' '.join(["'%s'" % a
|
||||
|
|
Loading…
Reference in New Issue