Build: Decouple S/NS test control in build configs
Regression tests for both Secure and Non-Secure are currently controlled
by the same boolean seed param "test_regression", which makes the tests
can only be enabled/disable at the same time.
Now that it is needed by some platforms such as Corstone1000 to only
enable Secure tests without Non-Secure tests, the test control needs to
be decoupled.
This patch converts "test_regression" from boolean to string to indicate
which tests should be enabled.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I1e73dc5d7bca7239fcdd2050bb5e58389a79ad95
diff --git a/lava_helper/lava_create_jobs.py b/lava_helper/lava_create_jobs.py
index cfee0ed..242a5d6 100755
--- a/lava_helper/lava_create_jobs.py
+++ b/lava_helper/lava_create_jobs.py
@@ -57,7 +57,7 @@
if platform != os.getenv('TFM_PLATFORM'):
continue
recovery_image_url = get_recovery_url(recovery_store_url, recovery)
- if os.getenv("TEST_REGRESSION") == "True":
+ if os.getenv("TEST_REGRESSION") != "OFF":
monitor_name = "reg_tests"
elif os.getenv("TEST_PSA_API") != "OFF":
monitor_name = "arch_tests"