jinja_templates: Increase simlimit to 2000 for MPS2 in Debug
The tests for psa-api for AN521 in Debug mode take much
longer than the timeout.
- Add a new `build_type` parameter in generate_test_definitions to
conditionally choose the simlimit time based on the build type.
- Double the time since the tests stopped somehow just over
half way through (+ some margin).
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Change-Id: I92c5348aa7762922619bf6b6bb73aa1cd234a5ee
diff --git a/lava_helper/lava_create_jobs.py b/lava_helper/lava_create_jobs.py
index 0c78a7a..33388c1 100755
--- a/lava_helper/lava_create_jobs.py
+++ b/lava_helper/lava_create_jobs.py
@@ -86,7 +86,8 @@
"cpu0_initvtor_s": config.get("cpu0_initvtor_s", "0x10000000"),
"psa_api_suite": os.getenv("TEST_PSA_API") if os.getenv("TEST_PSA_API") == "IPC" else "",
"binaries": config.get('binaries', []),
- "data_url_prefix": "{}/artifact/ci_build".format(os.getenv("BUILD_URL"))
+ "data_url_prefix": "{}/artifact/ci_build".format(os.getenv("BUILD_URL")),
+ "build_type": os.getenv("CMAKE_BUILD_TYPE"),
}
if len(params["monitors"]) == 0: