mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 02:24:16 +01:00
Make hardclock selftest optional
This commit is contained in:
parent
5574546524
commit
3ab7b96f35
@ -437,9 +437,9 @@ hard_test:
|
||||
if( hardfail > 1 )
|
||||
{
|
||||
if( verbose != 0 )
|
||||
polarssl_printf( "failed\n" );
|
||||
polarssl_printf( "failed (ignored)\n" );
|
||||
|
||||
return( 1 );
|
||||
goto hard_test_done;
|
||||
}
|
||||
|
||||
/* Get a reference ratio cycles/ms */
|
||||
@ -468,6 +468,8 @@ hard_test:
|
||||
if( verbose != 0 )
|
||||
polarssl_printf( "passed\n" );
|
||||
|
||||
hard_test_done:
|
||||
|
||||
#if defined(POLARSSL_NET_C) && defined(POLARSSL_HAVE_TIME)
|
||||
if( verbose != 0 )
|
||||
polarssl_printf( " TIMING test #4 (net_usleep/ get_timer): " );
|
||||
|
Loading…
Reference in New Issue
Block a user