lava_helper_configs: Add monitor config for PSA "FF" testsuite
Includes adding mapping for "SIM ERROR" testcase result, which happens
in some testscases as of now. Not that this patch does not enable the
"FF" testsuite actually, as it is known to fail so far. This will be
done in the separate patch.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I16afd5fe2351b7c7844e3348473821e349e0a36d
diff --git a/lava_helper/jinja2_templates/fvp_mps2.jinja2 b/lava_helper/jinja2_templates/fvp_mps2.jinja2
index 40c0b31..2dae73c 100644
--- a/lava_helper/jinja2_templates/fvp_mps2.jinja2
+++ b/lava_helper/jinja2_templates/fvp_mps2.jinja2
@@ -88,6 +88,7 @@
{%- if monitor.fixup.skip %}
'{{monitor.fixup.skip}}': skip
{%- endif %}
+ 'SIM ERROR': fail
{%- endfor %}
{%- if enable_code_coverage %}
diff --git a/lava_helper/lava_helper_configs.py b/lava_helper/lava_helper_configs.py
index 69ce5c7..de29b96 100644
--- a/lava_helper/lava_helper_configs.py
+++ b/lava_helper/lava_helper_configs.py
@@ -100,6 +100,18 @@
},
]
+monitors_psaapitest_ff = [
+ {
+ 'name': 'psa_api_suite',
+ 'start': 'Running..',
+ 'end': 'Entering standby..',
+ 'pattern': r" DESCRIPTION: +(?P<test_case_id>.+?)\r?\n"
+ r".+"
+ r"TEST RESULT: (?P<result>(PASSED|FAILED|SKIPPED|SIM ERROR))",
+ 'fixup': {"pass": "PASSED", "fail": "FAILED", "skip": "SKIPPED"},
+ },
+]
+
# MPS2 with BL2 bootloader
# IMAGE0ADDRESS: 0x10000000