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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@161193 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ef793f2513
commit
63b2f4f2dc
@ -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…
x
Reference in New Issue
Block a user