Assert tests on the first failure. (#4952)

* Assert tests on the first failure. Disable pop-up message box on assertion.

* Fix format and code style

* Move MSVC dependent code to ifdef
This commit is contained in:
Vladimir Glavnyy
2018-10-04 02:04:14 +07:00
committed by Wouter van Oortmerssen
parent 062dcf7007
commit 7a43775661
3 changed files with 41 additions and 2 deletions

View File

@@ -17,6 +17,9 @@
extern int testing_fails;
// Prepare test engine (MSVC assertion setup, etc)
void InitTestEngine();
void TestFail(const char *expval, const char *val, const char *exp,
const char *file, int line, const char *func = 0);