Test: Remove test result from struct test_t
It is unnecessary to assign a dedicated test result structure in
each test description. Test framework can define a common
test_result_t and pass it to each test case.
This patch removed the test_result_t in struct test_t to decrease
16 bytes * numbers of test cases.
Signed-off-by: Jianliang Shen <jianliang.shen@arm.com>
Change-Id: Ia46f88ec1641860b1d3416089cc79a63579a9cb0
diff --git a/test/framework/test_framework.h b/test/framework/test_framework.h
index 1378905..c205614 100644
--- a/test/framework/test_framework.h
+++ b/test/framework/test_framework.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2021, Arm Limited. All rights reserved.
+ * Copyright (c) 2017-2022, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -45,7 +45,6 @@
TEST_FUN * const test; /*!< Test function to call */
const char *name; /*!< Test name */
const char *desc; /*!< Test description */
- struct test_result_t ret; /*!< Test result */
};
struct test_suite_t;