mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[RTL][KERNEL32][ROSAUTOTEST] Disable debug prompts during autotest
This fixes timeouts + reboots for user mode assertion failures on the testbots. As a bonus it now shows a backtrace.
This commit is contained in:
parent
301675c112
commit
fd3c571d36
4 changed files with 53 additions and 1 deletions
|
@ -42,6 +42,12 @@ RtlAssert(IN PVOID FailedAssertion,
|
|||
(PSTR)FileName,
|
||||
LineNumber);
|
||||
|
||||
/* Check for reactos specific flag (set by rosautotest) */
|
||||
if (RtlGetNtGlobalFlags() & FLG_DISABLE_DEBUG_PROMPTS)
|
||||
{
|
||||
RtlRaiseStatus(STATUS_ASSERTION_FAILURE);
|
||||
}
|
||||
|
||||
/* Prompt for action */
|
||||
DbgPrompt("Break repeatedly, break Once, Ignore, "
|
||||
"terminate Process or terminate Thread (boipt)? ",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue