RSE: Enable BL1_1 tests
Also, add generic support for runnning the BL1_1 and BL1_2 testsuites in
CI.
Change-Id: I85f0cf0018e0f025cf16d8484c944167191efc4f
Signed-off-by: Raef Coles <raef.coles@arm.com>
diff --git a/lava_helper/lava_helper_configs.py b/lava_helper/lava_helper_configs.py
index 31311a4..1e5d809 100644
--- a/lava_helper/lava_helper_configs.py
+++ b/lava_helper/lava_helper_configs.py
@@ -65,6 +65,22 @@
'fixup': {"pass": "PASSED", "fail": "FAILED", "skip": "SKIPPED"},
}
+bl1_1_reg_tests_monitors_cfg = {
+ 'name': 'BL1_1_regression_suite',
+ 'start': 'Execute test suites for the BL1_1 area',
+ 'end': 'End of BL1_1 test suites',
+ 'pattern': r"TEST: (?P<test_case_id>.+?) - (?P<result>(PASSED|FAILED|SKIPPED))",
+ 'fixup': {"pass": "PASSED", "fail": "FAILED", "skip": "SKIPPED"},
+}
+
+bl1_2_reg_tests_monitors_cfg = {
+ 'name': 'BL1_2_regression_suite',
+ 'start': 'Execute test suites for the BL1_2 area',
+ 'end': 'End of BL1_2 test suites',
+ 'pattern': r"TEST: (?P<test_case_id>.+?) - (?P<result>(PASSED|FAILED|SKIPPED))",
+ 'fixup': {"pass": "PASSED", "fail": "FAILED", "skip": "SKIPPED"},
+}
+
arch_tests_monitors_cfg = {
'name': 'psa_api_suite',
'start': 'Running..',
@@ -81,7 +97,9 @@
reg_tests_monitors = [] + \
([mcuboot_tests_monitor_cfg] if "RegBL2" in os.getenv("TEST_REGRESSION") and os.getenv("BL2") == "True" else []) + \
([s_reg_tests_monitors_cfg] if "RegS" in os.getenv("TEST_REGRESSION") else []) + \
- ([ns_reg_tests_monitors_cfg] if "RegNS" in os.getenv("TEST_REGRESSION") else [])
+ ([ns_reg_tests_monitors_cfg] if "RegNS" in os.getenv("TEST_REGRESSION") else []) + \
+ ([bl1_1_reg_tests_monitors_cfg] if "RegBL1_1" in os.getenv("TEST_REGRESSION") else []) + \
+ ([bl1_2_reg_tests_monitors_cfg] if "RegBL1_2" in os.getenv("TEST_REGRESSION") else [])
arch_tests_monitors = [arch_tests_monitors_cfg]