Skip to content

Commit

Permalink
Export annotation data to plist files
Browse files Browse the repository at this point in the history
  • Loading branch information
Szelethus committed Jan 16, 2024
1 parent a10f697 commit 7c38090
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,12 @@ def convert(
self._create_macro_expansion(
macro_expansion, file_index_map))

if report.annotations:
diagnostic["report-annotation"] = dict()
print(report.annotations)
for key, value in report.annotations.items():
diagnostic["report-annotation"][key] = value

data['diagnostics'].append(diagnostic)

return data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from libtest import env


class DiffRemote(unittest.TestCase):
class DynamicResults(unittest.TestCase):

def setup_class(self):
"""Setup the environment for testing dynamic_results."""
Expand Down

0 comments on commit 7c38090

Please sign in to comment.