2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

engine: make test assert failure more pretty

This commit is contained in:
Alibek Omarov 2021-09-30 15:59:14 +03:00
parent f5ccf093d6
commit 3b933eabf5

View File

@ -17,12 +17,13 @@ extern struct tests_stats_s tests_stats;
if(!( exp )) \
{ \
tests_stats.failed++; \
Msg( "assert failed at %s:%i\n", __FILE__, __LINE__ ); \
Msg( S_ERROR "assert failed at %s:%i\n", __FILE__, __LINE__ ); \
} \
else tests_stats.passed++;
void Test_RunImagelib( void );
void Test_RunLibCommon( void );
void Test_RunCommon( void );
#endif