Author: tfaber
Date: Sat Sep 19 11:27:18 2015
New Revision: 69279
URL:
http://svn.reactos.org/svn/reactos?rev=69279&view=rev
Log:
[KMTESTS:KE]
- Don't skip most of the KeEvent test on checked builds
- Don't try to run things at stupid IRQLs
Modified:
trunk/rostests/kmtests/ntos_ke/KeEvent.c
Modified: trunk/rostests/kmtests/ntos_ke/KeEvent.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/ntos_ke/KeEvent.c…
==============================================================================
--- trunk/rostests/kmtests/ntos_ke/KeEvent.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/ntos_ke/KeEvent.c [iso-8859-1] Sat Sep 19 11:27:18 2015
@@ -225,15 +225,12 @@
{
KEVENT Event;
KIRQL Irql;
- KIRQL Irqls[] = { PASSIVE_LEVEL, APC_LEVEL, DISPATCH_LEVEL, HIGH_LEVEL };
+ KIRQL Irqls[] = { PASSIVE_LEVEL, APC_LEVEL, DISPATCH_LEVEL };
INT i;
KPRIORITY PriorityIncrement;
for (i = 0; i < sizeof Irqls / sizeof Irqls[0]; ++i)
{
- /* DRIVER_IRQL_NOT_LESS_OR_EQUAL (TODO: on MP only?) */
- if (Irqls[i] > DISPATCH_LEVEL && KmtIsCheckedBuild)
- return;
KeRaiseIrql(Irqls[i], &Irql);
TestEventFunctional(&Event, NotificationEvent, Irqls[i]);
TestEventFunctional(&Event, SynchronizationEvent, Irqls[i]);
@@ -243,7 +240,7 @@
for (i = 0; i < sizeof Irqls / sizeof Irqls[0]; ++i)
{
/* creating threads above DISPATCH_LEVEL... nope */
- if (Irqls[i] >= DISPATCH_LEVEL && KmtIsCheckedBuild)
+ if (Irqls[i] >= DISPATCH_LEVEL)
continue;
KeRaiseIrql(Irqls[i], &Irql);
trace("IRQL: %u\n", Irqls[i]);