[llvm] r176930 - lit.TestFormats.GoogleTest: Honor LitConfig.noExecute, or --no-execute were ignored.

NAKAMURA Takumi geek4civic at gmail.com
Tue Mar 12 23:16:33 PDT 2013


Author: chapuni
Date: Wed Mar 13 01:16:33 2013
New Revision: 176930

URL: http://llvm.org/viewvc/llvm-project?rev=176930&view=rev
Log:
lit.TestFormats.GoogleTest: Honor LitConfig.noExecute, or --no-execute were ignored.

Modified:
    llvm/trunk/utils/lit/lit/TestFormats.py

Modified: llvm/trunk/utils/lit/lit/TestFormats.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestFormats.py?rev=176930&r1=176929&r2=176930&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestFormats.py (original)
+++ llvm/trunk/utils/lit/lit/TestFormats.py Wed Mar 13 01:16:33 2013
@@ -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)
 





More information about the llvm-commits mailing list