Introduce DICE unit tests
Add unit tests for conversion from verified boot data to information
in the DICE chain.
Refactor the build files, and the code slightly for testability.
Also switch to use the dice_changes flag rather than llpvm_changes for
including security version. (It doesn't make much difference, but it
seems marginally more precise.)
Clarify a safety comment.
See cl/585652299 for updating the list of tests.
Bug: 300911665
Test: atest libpvmfw.dice.test
Change-Id: I35fdb41bca38aaea6c253ab5bfb173dbb0a8e928
diff --git a/pvmfw/TEST_MAPPING b/pvmfw/TEST_MAPPING
index f21318e..e948400 100644
--- a/pvmfw/TEST_MAPPING
+++ b/pvmfw/TEST_MAPPING
@@ -10,6 +10,9 @@
},
{
"name" : "libpvmfw.device_assignment.test"
+ },
+ {
+ "name" : "libpvmfw.dice.test"
}
]
}