Index: test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py =================================================================== --- test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py +++ test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py @@ -51,7 +51,7 @@ # Find the line number to break inside main(). self.first_stop = line_number(self.source, '// Set break point at this line') # Build dictionary to have unique executable names for each test method. - self.exe_name = self.testMethodName + self.exe_name = self.testMethodName[len('test_watchpoint_multiple_threads_'):] self.d = {'CXX_SOURCES': self.source, 'EXE': self.exe_name} def hello_multiple_threads(self):