[Lldb-commits] [lldb] r232959 - Shorten executable name in WatchpointLLDBCommandTestCase

Tamas Berghammer tberghammer at google.com
Mon Mar 23 09:17:47 PDT 2015


Author: tberghammer
Date: Mon Mar 23 11:17:47 2015
New Revision: 232959

URL: http://llvm.org/viewvc/llvm-project?rev=232959&view=rev
Log:
Shorten executable name in WatchpointLLDBCommandTestCase

It is required because the name of the executable exceeded the maximum
allowed file name on android.

Modified:
    lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py

Modified: lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py?rev=232959&r1=232958&r2=232959&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py (original)
+++ lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py Mon Mar 23 11:17:47 2015
@@ -22,7 +22,7 @@ class WatchpointLLDBCommandTestCase(Test
         # And the watchpoint variable declaration line number.
         self.decl = line_number(self.source, '// Watchpoint variable declaration.')
         # Build dictionary to have unique executable names for each test method.
-        self.exe_name = self.testMethodName
+        self.exe_name = 'a%d.out' % self.test_number
         self.d = {'CXX_SOURCES': self.source, 'EXE': self.exe_name}
 
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")





More information about the lldb-commits mailing list