[Lldb-commits] [PATCH] Change executable name to a.out.

Vince Harron vince at nethacker.com
Wed Jul 1 20:11:06 PDT 2015


Does the LoL DB API output a clear and actionable error code if the
filename you are launching is too long? If not please add a test for this
On Jul 1, 2015 6:26 PM, "Chaoren Lin" <chaorenl at google.com> wrote:

> Hi sivachandra,
>
> The long name causes problems with some shells.
>
> http://reviews.llvm.org/D10888
>
> Files:
>   test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
>
> Index:
> test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
> ===================================================================
> ---
> test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
> +++
> test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
> @@ -39,7 +39,7 @@
>          # 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.out'
>          self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>
>      def hello_watchpoint(self):
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150701/2a7338a2/attachment.html>


More information about the lldb-commits mailing list