summaryrefslogtreecommitdiff
path: root/test/build.mk
diff options
context:
space:
mode:
authorFiras Sammoura <fsammoura@google.com>2022-09-15 20:35:02 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-22 21:16:46 +0000
commit2e07bb2896cdc4b905fb8b1463fffe1749bfb025 (patch)
treea46a06a77a413e391a1efe693b4141710c9b4e1c /test/build.mk
parent053e7446850e3898390916a3b37b5ae188e0894a (diff)
downloadchrome-ec-2e07bb2896cdc4b905fb8b1463fffe1749bfb025.tar.gz
test: Add test for rollback_get_secret
Add tests for rollback_get_secret when the get_latest_rollback fails, returns a trivial secret, and returns a real secret. BRANCH=None BUG=b:242720910 TEST=make run-rollback_secret TEST=make runhosttests Signed-off-by: Firas Sammoura <fsammoura@google.com> Change-Id: I992daf7af3e80dcc4b20412037f792e125866af7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3900486 Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Reviewed-by: Bobby Casey <bobbycasey@google.com>
Diffstat (limited to 'test/build.mk')
-rw-r--r--test/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/build.mk b/test/build.mk
index 9ab2cf0f7a..73a67a0bb1 100644
--- a/test/build.mk
+++ b/test/build.mk
@@ -83,6 +83,7 @@ test-list-host += power_button
test-list-host += printf
test-list-host += queue
test-list-host += rgb_keyboard
+test-list-host += rollback_secret
test-list-host += rsa
test-list-host += rsa3
test-list-host += rtc
@@ -223,6 +224,7 @@ printf-y=printf.o
queue-y=queue.o
rollback-y=rollback.o
rollback_entropy-y=rollback_entropy.o
+rollback_secret-y=rollback_secret.o
rsa-y=rsa.o
rsa3-y=rsa.o
rtc-y=rtc.o