Skip to content

Commit 8899c81

Browse files
committed
continue looping on NOP
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent ec27d57 commit 8899c81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/common.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ int test_process_dir(const char *path, void *ctx, dir_iter_cb process, dir_clean
120120
#if defined(LTC_TEST_DBG) && LTC_TEST_DBG > 1
121121
fprintf(stderr, "%s: Skip: %s\n", test, fname);
122122
#endif
123-
break;
123+
goto continue_loop;
124124
} else if (err != CRYPT_OK) {
125125
#if defined(LTC_TEST_DBG)
126126
fprintf(stderr, "%s: Test %s failed (cause: %s).\n\n", test, fname, error_to_string(err));
@@ -133,6 +133,7 @@ int test_process_dir(const char *path, void *ctx, dir_iter_cb process, dir_clean
133133
cleanup(ctx);
134134
}
135135

136+
continue_loop:
136137
XFREE(buf);
137138
buf = NULL;
138139
fclose(f);

0 commit comments

Comments
 (0)