Quit test drivers through ApplicationExit
Drivers finish through ApplicationExit.Quit so engine mods complete their asynchronous cleanup before the engine shuts down; failure codes are kept.
This commit is contained in:
1 parent
2158f4fdaf
commit
3b12cae445
1 file changed
+1
-1
@@ -519,7 +519,7 @@ namespace Mods.CookingWalkTest
|
|||||||
foreach (var f in failures)
|
foreach (var f in failures)
|
||||||
Log($" failed: {f}");
|
Log($" failed: {f}");
|
||||||
Log($"[TEST_RESULT] name={ResultName} passed={passed} failed={failed}");
|
Log($"[TEST_RESULT] name={ResultName} passed={passed} failed={failed}");
|
||||||
GetTree().Quit(failed == 0 ? 0 : 1);
|
Cthangover.Core.Bootstrap.ApplicationExit.Quit(GetTree(), failed == 0 ? 0 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Log(string message)
|
private void Log(string message)
|
||||||
|
|||||||
Reference in new issue
Block a user