[Lldb-commits] [lldb] r269628 - test: remove use of undefined variables

Saleem Abdulrasool via lldb-commits lldb-commits at lists.llvm.org
Sun May 15 20:13:12 PDT 2016


Author: compnerd
Date: Sun May 15 22:13:12 2016
New Revision: 269628

URL: http://llvm.org/viewvc/llvm-project?rev=269628&view=rev
Log:
test: remove use of undefined variables

The variables referenced in the print message are not defined.  Simply state
that the requisite script is not found.  Correct grammar to indicate that the
tests are rather likely to fail rather than unlikely to fail.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/dotest.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dotest.py?rev=269628&r1=269627&r2=269628&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/dotest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest.py Sun May 15 22:13:12 2016
@@ -646,8 +646,7 @@ def setupSysPath():
                         break
 
                 if not lldbPythonDir:
-                    print('This script requires lldb.py to be in either ' + dbgPath + ',', end=' ')
-                    print(relPath + ', or ' + baiPath + '. Some tests might fail.')
+                    print("lldb.py is not found, some tests may fail.")
             else:
                 print("Unable to load lldb extension module.  Possible reasons for this include:")
                 print("  1) LLDB was built with LLDB_DISABLE_PYTHON=1")




More information about the lldb-commits mailing list