Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3160b096 authored by Luca Farsi's avatar Luca Farsi Committed by Gerrit Code Review
Browse files

Merge "Report optimized/unoptimized targets correctly" into main

parents 0cce0b3a b44af174
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -89,6 +89,8 @@ class BuildPlanner:
      else:
        regex = r'\b(%s)\b' % re.escape(target)
        if any(re.search(regex, opt) for opt in test_discovery_zip_regexes):
          get_metrics_agent().report_unoptimized_target(target, 'Test artifact used.')
        else:
          get_metrics_agent().report_optimized_target(target)

      if self._unused_target_exclusion_enabled(