mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
Don't use assert() in tests
It pops a dialog on windows and hangs
This commit is contained in:
@@ -53,7 +53,13 @@ static void DebugOutput( ESteamNetworkingSocketsDebugOutputType eType, const cha
|
||||
if ( strstr( pszMsg, "SteamNetworkingGlobalLock held for" ) )
|
||||
return;
|
||||
|
||||
assert( !"TEST FAILED" );
|
||||
fprintf( stderr, "\n\n"
|
||||
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
|
||||
"!! TEST FAILED !!\n"
|
||||
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
|
||||
"\n", pszMsg );
|
||||
fflush( stderr );
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user