printf Asserts, so they end up in the test logs.

This commit is contained in:
Henrik Rydgard 2012-11-29 15:04:32 +01:00
parent 96fce482bd
commit e4c0d2d5cd
3 changed files with 3 additions and 2 deletions

View File

@ -101,6 +101,7 @@ void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type,
}
#define _dbg_assert_msg_(_t_, _a_, ...)\
if (!(_a_)) {\
printf(_t_, __VA_ARGS__); \
ERROR_LOG(_t_, __VA_ARGS__); \
if (!PanicYesNo(__VA_ARGS__)) {Crash();} \
}

2
native

@ -1 +1 @@
Subproject commit 8b6adf4cd698227dfc51cbbed4f26cf2baffe69c
Subproject commit 294ad623c5e23e9d9203606d720ff9ff2e490255

@ -1 +1 @@
Subproject commit 9b0212641a161ae45be8617cd001dbd9a287c4a6
Subproject commit 9ac7e335127c2829aeb040e97fd6c6116a4269bb