xtest : disable large TA tests with virtualization
Disabled the large TA part of 1013 and large TA test 1034
when virtualization is enabled since it uses too much secure heap.
For QEMU environment, enough secure memory is not available
for each guest, so these testcases fail when CFG_VIRTUALIZATION=y
Signed-off-by: Ruchika Gupta <ruchika.gupta@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
diff --git a/host/xtest/regression_1000.c b/host/xtest/regression_1000.c
index b1f8b19..95e07e9 100644
--- a/host/xtest/regression_1000.c
+++ b/host/xtest/regression_1000.c
@@ -1199,7 +1199,7 @@
Do_ADBG_Log(" Mean concurrency: %g", mean_concurrency);
Do_ADBG_EndSubCase(c, "Using small concurrency TA");
-#ifndef CFG_PAGED_USER_TA
+#if !defined(CFG_PAGED_USER_TA) && !defined(CFG_VIRTUALIZATION)
Do_ADBG_BeginSubCase(c, "Using large concurrency TA");
mean_concurrency = 0;
for (i = 0; i < nb_loops; i++) {
@@ -2474,6 +2474,7 @@
ADBG_CASE_DEFINE(regression, 1033, xtest_tee_test_1033,
"Test the supplicant plugin framework");
+#ifndef CFG_VIRTUALIZATION
static void xtest_tee_test_1034(ADBG_Case_t *c)
{
TEEC_Result res = TEEC_SUCCESS;
@@ -2487,3 +2488,4 @@
}
ADBG_CASE_DEFINE(regression, 1034, xtest_tee_test_1034,
"Test loading a large TA");
+#endif