diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-03-13 06:16:33 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-03-13 06:16:33 +0000 |
commit | 816281fccfbf0eda079a065ddadc4670b2c5d912 (patch) | |
tree | a23b96216c2c8d1cb30671b9c3863251bc39ee9e /utils | |
parent | 5ac065a79767cc112eba63136183b7103765d0d3 (diff) | |
download | external_llvm-816281fccfbf0eda079a065ddadc4670b2c5d912.zip external_llvm-816281fccfbf0eda079a065ddadc4670b2c5d912.tar.gz external_llvm-816281fccfbf0eda079a065ddadc4670b2c5d912.tar.bz2 |
lit.TestFormats.GoogleTest: Honor LitConfig.noExecute, or --no-execute were ignored.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/lit/lit/TestFormats.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/lit/lit/TestFormats.py b/utils/lit/lit/TestFormats.py index a272976..26541f1 100644 --- a/utils/lit/lit/TestFormats.py +++ b/utils/lit/lit/TestFormats.py @@ -97,6 +97,9 @@ class GoogleTest(object): if litConfig.useValgrind: cmd = litConfig.valgrindArgs + cmd + if litConfig.noExecute: + return Test.PASS, '' + out, err, exitCode = TestRunner.executeCommand( cmd, env=test.config.environment) |