diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2012-08-02 18:36:47 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2012-08-02 18:36:47 +0000 |
| commit | c1a45fb70fcf96d3e933479d8a4e38e0bfc564ee (patch) | |
| tree | 9faa0ea31ef1692f1721009333970dc9f35f4d9e /libcxx | |
| parent | 4df0a6adf63864517279743e335993c45c6e6d62 (diff) | |
| download | bcm5719-llvm-c1a45fb70fcf96d3e933479d8a4e38e0bfc564ee.tar.gz bcm5719-llvm-c1a45fb70fcf96d3e933479d8a4e38e0bfc564ee.zip | |
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
Diffstat (limited to 'libcxx')
| -rw-r--r-- | libcxx/test/lit.cfg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/lit.cfg b/libcxx/test/lit.cfg index d8023fd9e16..1ce2d575374 100644 --- a/libcxx/test/lit.cfg +++ b/libcxx/test/lit.cfg @@ -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 |

