What part is ifdef'ed? Mach core files should be available on any platform?

> On Mar 14, 2018, at 7:16 AM, Jonas Devlieghere via lldb-commits 
> <lldb-commits@lists.llvm.org> wrote:
> 
> Author: jdevlieghere
> Date: Wed Mar 14 07:16:23 2018
> New Revision: 327512
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=327512&view=rev
> Log:
> [test] Disable TestMachCore everywhere except on Darwin
> 
> Apparently the parser is wrapped inside ifdef's so the logic isn't
> available on non-Darwin platforms.
> 
> Should fix build bot failure:
>  http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/20463
> 
> Modified:
>    
> lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py
> 
> Modified: 
> lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py
> URL: 
> http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py?rev=327512&r1=327511&r2=327512&view=diff
> ==============================================================================
> --- 
> lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py
>  (original)
> +++ 
> lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py
>  Wed Mar 14 07:16:23 2018
> @@ -26,6 +26,7 @@ class MachCoreTestCase(TestBase):
>         lldb.DBG.SetSelectedPlatform(self._initial_platform)
>         super(MachCoreTestCase, self).tearDown()
> 
> +    @skipUnlessDarwin
>     def test_selected_thread(self):
>         """Test that the right thread is selected after a core is loaded."""
>         # Create core form YAML.
> 
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to