1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Soft error on some malformed PDB cases

This commit is contained in:
Brian Fiete 2022-04-22 19:19:43 -07:00
parent cf6ade5e45
commit 1abccdedf8
6 changed files with 48 additions and 7 deletions

View file

@ -12860,7 +12860,7 @@ namespace IDE
deferredOutput.Append(param);
}
else if (cmd == "error")
else if ((cmd == "error") || (cmd == "errorsoft"))
{
if ((mRunningTestScript) && (!IsCrashDump) && (!mScriptManager.IsErrorExpected(param, false)))
mScriptManager.Fail(param);
@ -12944,7 +12944,7 @@ namespace IDE
}
OutputLineSmart(scope String("ERROR: ", scope String(errorMsg)));
if (gApp.mRunningTestScript)
if ((gApp.mRunningTestScript) || (cmd == "errorsoft"))
{
// The 'OutputLineSmart' would already call 'Fail' when running test scripts
}