>From 7a7668ed34819ec98da83aadf55f32d73e699c13 Mon Sep 17 00:00:00 2001 From: Aleksey Cherepanov Date: Fri, 2 Aug 2013 15:59:37 +0400 Subject: [PATCH] fix to repare build with defined BENCH_BUILD after add of --skip-self-tests option --- src/formats.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/formats.c b/src/formats.c index e23c47a..13b39cc 100644 --- a/src/formats.c +++ b/src/formats.c @@ -172,8 +172,10 @@ static char *fmt_self_test_body(struct fmt_main *format, return NULL; #endif +#ifndef BENCH_BUILD if (options.flags & FLG_NOTESTS) return NULL; +#endif if (format->params.plaintext_length < 1 || format->params.plaintext_length > PLAINTEXT_BUFFER_SIZE - 3) -- 1.7.10.4