feat(handoff): add measured boot tftf config
Add test configuration to test firmware handoff with the measured boot
enabled. In TFTF receive the transfer list and if there's a present
event log, run some sanity checks to make sure that the log is valid.
Dump the event log for processing by the expect scripts.
Change-Id: Icbcd00ca739d8b47ba66e64745193f2432659334
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
diff --git a/expect/tftf.inc b/expect/tftf.inc
index 2b671fd..b47d1c3 100644
--- a/expect/tftf.inc
+++ b/expect/tftf.inc
@@ -10,6 +10,10 @@
expect_re "Running at NS-EL(1|2)"
+if {[info exists ::env(measured_boot)]} {
+ capture_and_compare_log tftf_event_log "TEST COMPLETE" tfa_event_log
+}
+
expect {
"Tests Failed : 0" {
expect_string "Exiting tests." "all TFTF tests passed"