Skip to content

Commit b6f9ef4

Browse files
committed
[cov,otbn] Add coverage_view for boot binary
This change adds a `coverage_view_test` target to the OTBN crypto BUILD file for the `boot` binary. This allows for coverage filtering of the boot code. Change-Id: I4605a87677f1f198cadd34dbb5f65df5ed4332e8 Signed-off-by: Yi-Hsuan Deng <[email protected]>
1 parent 7403c91 commit b6f9ef4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sw/otbn/crypto/BUILD

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44

55
load("//rules:otbn.bzl", "otbn_binary", "otbn_library")
6+
load("//rules/coverage:view.bzl", "coverage_view_test")
67

78
package(default_visibility = ["//visibility:public"])
89

@@ -19,6 +20,12 @@ otbn_binary(
1920
],
2021
)
2122

23+
coverage_view_test(
24+
name = "boot_coverage_view",
25+
elf = ":boot",
26+
kind = "otbn",
27+
)
28+
2229
otbn_library(
2330
name = "ed25519",
2431
srcs = [

0 commit comments

Comments
 (0)