diff -r ff5437e4337c -r 48e57fb1237e kerneltest/e32test/power/t_lddpowerseqtest.cpp --- a/kerneltest/e32test/power/t_lddpowerseqtest.cpp Wed Oct 06 17:13:14 2010 +0100 +++ b/kerneltest/e32test/power/t_lddpowerseqtest.cpp Mon Oct 11 17:54:41 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of the License "Eclipse Public License v1.0" @@ -20,6 +20,7 @@ #include "d_lddpowerseqtest.h" #include +#include "testexclusions.h" _LIT(KLddFileName, "D_LDDPOWERSEQTEST.LDD"); RLddTest1 ldd; @@ -39,6 +40,15 @@ RTimer timer; TRequestStatus tstatus; + TInt testExclusions = 0; + r = GetTestExclusionSettings(testExclusions); + test(r == KErrNone); + + if (testExclusions & KDisableControllerShutdown) + { + UserSvr::HalFunction(EHalGroupPower, EPowerHalPowerManagerTestMode, (TAny*)KDisableControllerShutdown, NULL); + } + test.Printf(_L("Loading logical device \n")); r=User::LoadLogicalDevice(KLddFileName); test(r == KErrNone);