1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-05 01:10:22 +02:00

Remove some abort() calls

abort() doesn't benefit from the high level abstractions from FATAL_ERROR.
This commit is contained in:
est31
2015-10-26 04:13:27 +01:00
parent d69ef6acd3
commit 5f342aa015
4 changed files with 7 additions and 13 deletions

View File

@ -215,7 +215,7 @@ void TestGameDef::defineSomeNodes()
//// run_tests
////
void run_tests()
bool run_tests()
{
DSTACK(FUNCTION_NAME);
@ -253,8 +253,7 @@ void run_tests()
<< "++++++++++++++++++++++++++++++++++++++++"
<< "++++++++++++++++++++++++++++++++++++++++" << std::endl;
if (num_modules_failed)
abort();
return num_modules_failed;
}
////