From: NAKAMURA Takumi Date: Wed, 13 Mar 2013 06:16:33 +0000 (+0000) Subject: lit.TestFormats.GoogleTest: Honor LitConfig.noExecute, or --no-execute were ignored. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=816281fccfbf0eda079a065ddadc4670b2c5d912;p=oota-llvm.git 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 --- diff --git a/utils/lit/lit/TestFormats.py b/utils/lit/lit/TestFormats.py index a272976ca00..26541f183bf 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)