summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2024-04-02 17:13:46 +0000
committerSami Tolvanen <samitolvanen@google.com>2024-04-02 17:32:35 +0000
commitd8c85b50bb26844a104fd3fd5cc6a526a7a3f20f (patch)
tree0833a755ea309871f6c49c579de1e7e98cada584
parent19105d8ec2631a9ad71da2c07c7a8cc81930f672 (diff)
downloadhal-d8c85b50bb26844a104fd3fd5cc6a526a7a3f20f.tar.gz
VINTF test: Add @VsrTest annotation for VSR-3.4.6
Add a VSR test annotation for the KernelCompatibility test, and document which configs are being tested. Bug: 295216321 Test: Treehugger Change-Id: I67405bf4eb5a2157112d1bc0b0d13bcb0e00d19f
-rw-r--r--treble/vintf/SystemVendorTest.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/treble/vintf/SystemVendorTest.cpp b/treble/vintf/SystemVendorTest.cpp
index 92f08e52..cf832cd3 100644
--- a/treble/vintf/SystemVendorTest.cpp
+++ b/treble/vintf/SystemVendorTest.cpp
@@ -83,6 +83,14 @@ TEST_F(SystemVendorTest, FrameworkMatrixDeviceRuntimeCompatibility) {
// Tests that runtime kernel matches requirements in compatibility matrix.
// This includes testing kernel version and kernel configurations.
+//
+// Requirements:
+//
+// VSR-3.4.6-001: CONFIG_RANDOMIZE_BASE
+// VSR-3.4.6-002: CONFIG_SHADOW_CALL_STACK
+// VSR-3.4.6-002|VSR-3.4.6-003: CONFIG_CFI_CLANG
+//
+// @VsrTest = VSR-3.4.6-001|VSR-3.4.6-002|VSR-3.4.6-003
TEST_F(SystemVendorTest, KernelCompatibility) {
auto fwk_matrix = VintfObject::GetFrameworkCompatibilityMatrix();
ASSERT_NE(fwk_matrix, nullptr)