commit | a282270a10b42fb0d4d109c3e96ccc745f2095cf | [log] [tgz] |
---|---|---|
author | Andrzej Kurek <andrzej.kurek@arm.com> | Mon Apr 16 06:33:28 2018 -0400 |
committer | Andrzej Kurek <andrzej.kurek@arm.com> | Mon Apr 16 06:33:28 2018 -0400 |
tree | c2cccb9be70641908fbfeedf680a3e38f8a7a01f | |
parent | 32a675f032fdc9ef14cb8c171fb187d42b51c998 [diff] [blame] |
Add explicit checks for non-zero result of platform setup in test suites
diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function index e716318..c436fbb 100644 --- a/tests/suites/helpers.function +++ b/tests/suites/helpers.function
@@ -133,7 +133,7 @@ static int platform_setup() { #if defined(MBEDTLS_PLATFORM_C) - if( mbedtls_platform_setup( &platform_ctx ) ) + if( mbedtls_platform_setup( &platform_ctx ) != 0 ) { return -1; }