From 633c6b64850270879606372527f79c2970f962b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 26 Jun 2015 16:17:30 +0200 Subject: [PATCH] Run timing selftest on all platforms Used to fail on our FreeBSD and Windows buildbots. Seems to be working at least on my Darwin physical machine and on my Windows VM with MSYS2 now. --- programs/test/selftest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/test/selftest.c b/programs/test/selftest.c index 1aca4c19e..405d0d89a 100644 --- a/programs/test/selftest.c +++ b/programs/test/selftest.c @@ -262,8 +262,7 @@ int main( int argc, char *argv[] ) /* Slow tests last */ -/* Not stable enough on Windows and FreeBSD yet */ -#if __linux__ && defined(MBEDTLS_TIMING_C) +#if defined(MBEDTLS_TIMING_C) if( ( ret = mbedtls_timing_self_test( v ) ) != 0 ) return( ret ); #endif