summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9fbb159)
raw | patch | inline | side by side (parent: 9fbb159)
author | Vishal Mahaveer <vishalm@ti.com> | |
Wed, 25 Nov 2020 03:41:47 +0000 (21:41 -0600) | ||
committer | Sivaraj R <sivaraj@ti.com> | |
Wed, 25 Nov 2020 04:12:15 +0000 (22:12 -0600) |
OSAL_hwi_test unconditionally returns true, fix it by returning
actual result.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
actual result.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
packages/ti/osal/test/src/main_osal_test.c | patch | blob | history |
diff --git a/packages/ti/osal/test/src/main_osal_test.c b/packages/ti/osal/test/src/main_osal_test.c
index c03f23c0547a1419808ceabe559ee3d70d246dee..7c01331ce825cbef2d22280c0462427960a759ed 100644 (file)
bool OSAL_hwi_test()
{
+ bool pass = true;
#if (defined (SOC_AM65XX) || defined (SOC_AM64X) || defined(SOC_J721E) || defined(SOC_J7200) || defined (SOC_TPR12)) && (!defined(BUILD_C66X_1))&&(!defined(BUILD_C66X_2))&&(!defined(BUILD_C7X_1))
- OSAL_core_hwi_test();
+ pass = OSAL_core_hwi_test();
#endif
- return true;
+ return pass;
}
typedef enum UT_Timer_Type_s {