LAVA Helper: Extract common monitors for regession test

This patch extracts common monitors for configs with/without reg test.
So that the monitors can be re-used by different configs, which will
greatly simplify the code of LAVA helper, making it easier to maintain.

For configs with regression test enabled, test results are parsed from
the 'PASSED'/'FAILED' strings printed by each test suites.
For configs without regression test enabled, LAVA monitors will try to
match string "Non-Secure system starting...", which indicates TF-M has
been successfully booted.

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: If8cfb43f8eb06dd21c181950ac776322a20945d1
1 file changed