Skip to content

Commit fdcc045

Browse files
committed
Skip platforms w/o DWO support
1 parent ee03ef3 commit fdcc045

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lldb/test/API/commands/statistics/basic/TestStats.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,8 @@ def test_breakpoints(self):
524524
self.verify_keys(
525525
breakpoint, 'target_stats["breakpoints"]', bp_keys_exist, None
526526
)
527+
528+
@add_test_categories(["dwo"])
527529
def test_non_split_dwarf_has_no_dwo_files(self):
528530
"""
529531
Test "statistics dump" and the dwo file count.
@@ -543,6 +545,7 @@ def test_non_split_dwarf_has_no_dwo_files(self):
543545
self.assertEqual(debug_stats["totalDwoFileCount"], 0)
544546
self.assertEqual(debug_stats["totalLoadedDwoFileCount"], 0)
545547

548+
@add_test_categories(["dwo"])
546549
def test_no_debug_names_eager_loads_dwo_files(self):
547550
"""
548551
Test the eager loading behavior of DWO files when debug_names is absent by
@@ -566,6 +569,7 @@ def test_no_debug_names_eager_loads_dwo_files(self):
566569
self.assertEqual(debug_stats["totalDwoFileCount"], 2)
567570
self.assertEqual(debug_stats["totalLoadedDwoFileCount"], 2)
568571

572+
@add_test_categories(["dwo"])
569573
def test_split_dwarf_dwo_file_count(self):
570574
"""
571575
Test "statistics dump" and the dwo file count.
@@ -615,6 +619,7 @@ def test_split_dwarf_dwo_file_count(self):
615619
self.assertEqual(debug_stats["modules"][0]["loadedDwoFileCount"], 2)
616620
self.assertEqual(debug_stats["modules"][0]["dwoFileCount"], 2)
617621

622+
@add_test_categories(["dwo"])
618623
def test_dwp_dwo_file_count(self):
619624
"""
620625
Test "statistics dump" and the loaded dwo file count.

0 commit comments

Comments
 (0)