[dv/sram] fix unmapped test names

this PR is the equivalent of #6799, it fixes the test names in the
testplan for both SRAM variants such that no tests are unmapped in
nightly regressions.

Signed-off-by: Udi Jonnalagadda <udij@google.com>
diff --git a/hw/ip/sram_ctrl/data/sram_ctrl_base_testplan.hjson b/hw/ip/sram_ctrl/data/sram_ctrl_base_testplan.hjson
index 436c329..7d28ea5 100644
--- a/hw/ip/sram_ctrl/data/sram_ctrl_base_testplan.hjson
+++ b/hw/ip/sram_ctrl/data/sram_ctrl_base_testplan.hjson
@@ -2,7 +2,7 @@
 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
 // SPDX-License-Identifier: Apache-2.0
 {
-  name: "sram_ctrl_base"
+  name: "sram_ctrl"
   // TODO: remove the common testplans if not applicable
   import_testplans: ["hw/dv/tools/dvsim/testplans/csr_testplan.hjson",
                      "hw/dv/tools/dvsim/testplans/alert_test_testplan.hjson",
@@ -24,7 +24,7 @@
                 were executed correctly using the `mem_bkdr_if`
             '''
       milestone: V1
-      tests: ["{name}_smoke"]
+      tests: ["{variant}_smoke"]
     }
     {
       name: multiple_keys
@@ -42,7 +42,7 @@
                 intervals
             '''
       milestone: V2
-      tests: ["{name}_multiple_keys"]
+      tests: ["{variant}_multiple_keys"]
     }
     {
       name: stress_pipeline
@@ -52,7 +52,7 @@
             stress the encryption pipeline.
             '''
       milestone: V2
-      tests: ["{name}_stress_pipeline"]
+      tests: ["{variant}_stress_pipeline"]
     }
     {
       name: bijection
@@ -73,7 +73,7 @@
             This process will be repeated for a number of new key seeds.
             '''
       milestone: V2
-      tests: ["{name}_bijection"]
+      tests: ["{variant}_bijection"]
     }
     {
       name: mem_tl_errors
@@ -82,7 +82,7 @@
             SRAM TLUL interface to verify that erroneous TLUL transactions are handled correctly.
             '''
       milestone: V2
-      tests: ["{name}_mem_tl_errors"]
+      tests: ["{variant}_mem_tl_errors"]
     }
     {
       name: access_during_key_req
@@ -95,7 +95,7 @@
                   should be reflected in TB.
             '''
       milestone: V2
-      tests: ["{name}_access_during_key_req"]
+      tests: ["{variant}_access_during_key_req"]
     }
     {
       name: lc_escalation
@@ -110,7 +110,7 @@
             couple of memory accesses just to make sure everything is still in working order.
             '''
       milestone: V2
-      tests: ["{name}_lc_escalation"]
+      tests: ["{variant}_lc_escalation"]
     }
     {
       name: executable
@@ -128,7 +128,7 @@
             configured to be executable.
             '''
       milestone: V2
-      tests: ["{name}_executable"]
+      tests: ["{variant}_executable"]
     }
     {
       name: parity
@@ -144,7 +144,7 @@
             some memory accesses to make sure everything comes back online correctly.
             '''
       milestone: V3
-      tests: ["{name}_parity"]
+      tests: ["{variant}_parity"]
     }
   ]
 
diff --git a/hw/ip/sram_ctrl/data/sram_ctrl_main_testplan.hjson b/hw/ip/sram_ctrl/data/sram_ctrl_main_testplan.hjson
index 86ef960..7505487 100644
--- a/hw/ip/sram_ctrl/data/sram_ctrl_main_testplan.hjson
+++ b/hw/ip/sram_ctrl/data/sram_ctrl_main_testplan.hjson
@@ -4,6 +4,6 @@
 
 // testplan for the main SRAM variant
 {
-  name: "sram_ctrl_main"
+  variant: "sram_ctrl_main"
   import_testplans: ["hw/ip/sram_ctrl/data/sram_ctrl_base_testplan.hjson"]
 }
diff --git a/hw/ip/sram_ctrl/data/sram_ctrl_ret_testplan.hjson b/hw/ip/sram_ctrl/data/sram_ctrl_ret_testplan.hjson
index 56cd50c..b8df30d 100644
--- a/hw/ip/sram_ctrl/data/sram_ctrl_ret_testplan.hjson
+++ b/hw/ip/sram_ctrl/data/sram_ctrl_ret_testplan.hjson
@@ -4,6 +4,6 @@
 
 // testplan for the retention SRAM variant
 {
-  name: "sram_ctrl_ret"
+  variant: "sram_ctrl_ret"
   import_testplans: ["hw/ip/sram_ctrl/data/sram_ctrl_base_testplan.hjson"]
 }