[Lldb-commits] [lldb] r195659 - test: Fix punctuation in exceptions for log env vars

Ed Maste emaste at freebsd.org
Mon Nov 25 08:57:17 PST 2013


Author: emaste
Date: Mon Nov 25 10:57:16 2013
New Revision: 195659

URL: http://llvm.org/viewvc/llvm-project?rev=195659&view=rev
Log:
test: Fix punctuation in exceptions for log env vars

The Exception text was missing a closing parenthesis, and for consistency
with other Exceptions it should not end with a period.

Modified:
    lldb/trunk/test/dotest.py

Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=195659&r1=195658&r2=195659&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Mon Nov 25 10:57:16 2013
@@ -1105,7 +1105,7 @@ def lldbLoggings():
             "log enable -n -f " + os.environ["LLDB_LOG"] + " lldb " + lldb_log_option,
             res)
         if not res.Succeeded():
-            raise Exception('log enable failed (check LLDB_LOG env variable.')
+            raise Exception('log enable failed (check LLDB_LOG env variable)')
 
     if ("LLDB_LINUX_LOG" in os.environ):
         open(os.environ["LLDB_LINUX_LOG"], 'w').close()
@@ -1117,7 +1117,7 @@ def lldbLoggings():
             "log enable -n -f " + os.environ["LLDB_LINUX_LOG"] + " linux " + lldb_log_option,
             res)
         if not res.Succeeded():
-            raise Exception('log enable failed (check LLDB_LINUX_LOG env variable.')
+            raise Exception('log enable failed (check LLDB_LINUX_LOG env variable)')
  
     # Ditto for gdb-remote logging if ${GDB_REMOTE_LOG} environment variable is defined.
     # Use ${GDB_REMOTE_LOG} to specify the log file.
@@ -1131,7 +1131,7 @@ def lldbLoggings():
             + gdb_remote_log_option,
             res)
         if not res.Succeeded():
-            raise Exception('log enable failed (check GDB_REMOTE_LOG env variable.')
+            raise Exception('log enable failed (check GDB_REMOTE_LOG env variable)')
 
 def getMyCommandLine():
     ps = subprocess.Popen([which('ps'), '-o', "command=CMD", str(os.getpid())], stdout=subprocess.PIPE).communicate()[0]





More information about the lldb-commits mailing list