Skip to content

Commit

Permalink
CHROMIUM: Check #line directives for validity
Browse files Browse the repository at this point in the history
A #line that has the wrong line can break coverage reports quite badly,
and is easy to fix. Catch those in preupload.

BUG=None
TEST=None

Cq-Depend: chromium:5584720
Change-Id: I9e8558ae84cd14377a76430ed88db715e8f190fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5585345
Reviewed-by: Tristan Honscheid <honscheid@google.com>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
  • Loading branch information
jeremybettis authored and Chromeos LUCI committed Jun 3, 2024
1 parent 74cf624 commit 32f9a41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PRESUBMIT.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ tab_check=false
[Hook Overrides Options]

[Hook Scripts]
check_lines = ../../../platform/ec/util/check_line_directives.py --commit ${PRESUBMIT_COMMIT}

0 comments on commit 32f9a41

Please sign in to comment.