kerneltest/e32test/domainmgr/t_domain.cpp
changeset 286 48e57fb1237e
parent 279 957c583b417b
--- a/kerneltest/e32test/domainmgr/t_domain.cpp	Wed Oct 06 17:13:14 2010 +0100
+++ b/kerneltest/e32test/domainmgr/t_domain.cpp	Mon Oct 11 17:54:41 2010 +0100
@@ -51,6 +51,7 @@
 // 
 //
 
+
 #define __E32TEST_EXTENSION__
 #include <e32test.h>
 #include <e32debug.h>
@@ -59,7 +60,7 @@
 
 #include "domainpolicytest.h"
 #include "t_domain.h"
-
+#include "testexclusions.h"
 
 RTest test(_L(" T_DOMAIN "));
 _LIT(KThreadName, "t_domain_panic_thread");
@@ -2126,6 +2127,14 @@
 		delete hb;
 		}
 
+	TInt testExclusions = 0;
+	test_KErrNone(GetTestExclusionSettings(testExclusions));
+	
+	if (testExclusions & KDisableControllerShutdown)
+		{
+		UserSvr::HalFunction(EHalGroupPower, EPowerHalPowerManagerTestMode, (TAny*)KDisableControllerShutdown, NULL);
+		}
+
 	test.Title();
 	test.Printf(_L("Go for %d iterations\n"), iter);