[lldb] Skip tests exercising DW_OP_GNU_entry_value with dsymutil
authorPavel Labath <pavel@labath.sk>
Tue, 2 Jun 2020 16:22:25 +0000 (18:22 +0200)
committerPavel Labath <pavel@labath.sk>
Tue, 2 Jun 2020 16:31:15 +0000 (18:31 +0200)
It seems that this opcode needs explicit support in dsymutil. Disable
these tests until that is implemented.

lldb/test/API/functionalities/param_entry_vals/basic_entry_values/TestBasicEntryValues.py
lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/TestDisambiguateCallSite.py
lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py
lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.py
lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/TestInliningAndTailCalls.py
lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/TestArtificialFrameStepOutMessage.py
lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py

index ccc737c..4f294f5 100644 (file)
@@ -12,6 +12,7 @@ lldbinline.MakeInlineTest(__file__, globals(), decorators=decorators,
         name="BasicEntryValues_V5",
         build_dict=dict(CXXFLAGS_EXTRAS="-O2 -glldb"))
 
-lldbinline.MakeInlineTest(__file__, globals(), decorators=decorators,
+lldbinline.MakeInlineTest(__file__, globals(),
+        decorators=decorators+[skipIf(debug_info="dsym")],
         name="BasicEntryValues_GNU",
         build_dict=dict(CXXFLAGS_EXTRAS="-O2 -ggdb"))
index 99a2e76..699263e 100644 (file)
@@ -1,9 +1,10 @@
 from lldbsuite.test import lldbinline
 from lldbsuite.test import decorators
 
-decorators = [decorators.skipUnlessHasCallSiteInfo,
+decor = [decorators.skipUnlessHasCallSiteInfo,
          decorators.skipIf(dwarf_version=['<', '4'])]
 lldbinline.MakeInlineTest(__file__, globals(), name="DisambiguateCallSite_V5",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decor)
 lldbinline.MakeInlineTest(__file__, globals(), name="DisambiguateCallSite_GNU",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
+        decorators=decor+[decorators.skipIf(debug_info="dsym")])
index 815b585..80ed079 100644 (file)
@@ -1,11 +1,12 @@
 from lldbsuite.test import lldbinline
 from lldbsuite.test import decorators
 
-decorators = [decorators.skipUnlessHasCallSiteInfo,
+decor = [decorators.skipUnlessHasCallSiteInfo,
          decorators.skipIf(dwarf_version=['<', '4'])]
 lldbinline.MakeInlineTest(__file__, globals(),
         name="DisambiguatePathsToCommonSink_V5",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decor)
 lldbinline.MakeInlineTest(__file__, globals(),
         name="DisambiguatePathsToCommonSink_GNU",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
+        decorators=decor+[decorators.skipIf(debug_info="dsym")])
index 3fc8920..9e4422c 100644 (file)
@@ -1,9 +1,10 @@
 from lldbsuite.test import lldbinline
 from lldbsuite.test import decorators
 
-decorators = [decorators.skipUnlessHasCallSiteInfo,
+decor = [decorators.skipUnlessHasCallSiteInfo,
          decorators.skipIf(dwarf_version=['<', '4'])]
 lldbinline.MakeInlineTest(__file__, globals(), name="DisambiguateTailCallSeq_V5",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decor)
 lldbinline.MakeInlineTest(__file__, globals(), name="DisambiguateTailCallSeq_GNU",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
+        decorators=decor+[decorators.skipIf(debug_info="dsym")])
index 2cdb49e..f09a668 100644 (file)
@@ -1,9 +1,10 @@
 from lldbsuite.test import lldbinline
 from lldbsuite.test import decorators
 
-decorators = [decorators.skipUnlessHasCallSiteInfo,
+decor = [decorators.skipUnlessHasCallSiteInfo,
          decorators.skipIf(dwarf_version=['<', '4'])]
 lldbinline.MakeInlineTest(__file__, globals(), name="InliningAndTailCalls_V5",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decor)
 lldbinline.MakeInlineTest(__file__, globals(), name="InliningAndTailCalls_GNU",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
+        decorators=decor+[decorators.skipIf(debug_info="dsym")])
index 2fbc6ae..ffb693b 100644 (file)
@@ -1,11 +1,12 @@
 from lldbsuite.test import lldbinline
 from lldbsuite.test import decorators
 
-decorators = [decorators.skipUnlessHasCallSiteInfo,
+decor = [decorators.skipUnlessHasCallSiteInfo,
          decorators.skipIf(dwarf_version=['<', '4'])]
 lldbinline.MakeInlineTest(__file__, globals(),
         name="ArtificialFrameStepOutMessage_V5",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decor)
 lldbinline.MakeInlineTest(__file__, globals(),
         name="ArtificialFrameStepOutMessage_GNU",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
+        decorators=decor+[decorators.skipIf(debug_info="dsym")])
index 8179e94..ae33926 100644 (file)
@@ -1,9 +1,10 @@
 from lldbsuite.test import lldbinline
 from lldbsuite.test import decorators
 
-decorators = [decorators.skipUnlessHasCallSiteInfo,
+decor = [decorators.skipUnlessHasCallSiteInfo,
          decorators.skipIf(dwarf_version=['<', '4'])]
 lldbinline.MakeInlineTest(__file__, globals(), name="UnambiguousTailCalls_V5",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"), decorators=decor)
 lldbinline.MakeInlineTest(__file__, globals(), name="UnambiguousTailCalls_GNU",
-        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"), decorators=decorators)
+        build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
+        decorators=decor+[decorators.skipIf(debug_info="dsym")])