From 902008f5ea54ddc75d841a5d9d25f5c07ebc09f2 Mon Sep 17 00:00:00 2001 From: Takashi Kojo Date: Sat, 8 Sep 2018 09:17:52 +0900 Subject: [PATCH] refer unit_PassThrough flag at least once --- tests/api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index 7eff9ddd9..df537745f 100644 --- a/tests/api.c +++ b/tests/api.c @@ -442,7 +442,9 @@ static int test_wolfCrypt_Init(void) static int test_fileAccess() { - #ifdef WOLFSSL_TEST_PLATFORMDEPEND + if(unit_PassThrough == 1)XABORT(); /* do nothing. use the flag at least once. */ + + #if defined(WOLFSSL_TEST_PLATFORMDEPEND) && !defined(NO_FILESYSTEM) const char *fname[] = { svrCertFile, svrKeyFile, caCertFile, eccCertFile, eccKeyFile, eccRsaCertFile,