mirror of
https://github.com/nothings/stb
synced 2025-01-06 14:52:00 +03:00
cleanup runtime output/error detection of stb.h unit tests
This commit is contained in:
parent
509f9777e5
commit
2bf4326350
@ -1552,7 +1552,12 @@ int main(int argc, char **argv)
|
||||
for (n=1; n < 20; ++n)
|
||||
malloc(1 << n);
|
||||
|
||||
stb_("Finished stb.c with %d errors.", count);
|
||||
printf("Finished stb.c with %d errors.\n", count);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
if (count)
|
||||
__asm int 3;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user