aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-03-23 16:17:47 +0000
committerTamas Berghammer <tberghammer@google.com>2015-03-23 16:17:47 +0000
commit9bacf0ff1ac121f592a5a426054d38d9c8de2b5c (patch)
tree26f11c8bb1335022ecae0d736b6e60f32c42a111
parentfa041153e5361c6f678a48b7ee7cf7e0abed4941 (diff)
downloadllvm-9bacf0ff1ac121f592a5a426054d38d9c8de2b5c.zip
llvm-9bacf0ff1ac121f592a5a426054d38d9c8de2b5c.tar.gz
llvm-9bacf0ff1ac121f592a5a426054d38d9c8de2b5c.tar.bz2
Shorten executable name in WatchpointLLDBCommandTestCase
It is required because the name of the executable exceeded the maximum allowed file name on android. llvm-svn: 232959
-rw-r--r--lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py b/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
index 13c9aed..ac04cd9 100644
--- a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
+++ b/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
@@ -22,7 +22,7 @@ class WatchpointLLDBCommandTestCase(TestBase):
# 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")