installationservices/swi/test/tsisfile/steps/basestep.cpp
changeset 60 245df5276b97
parent 0 ba25891c3a9e
--- a/installationservices/swi/test/tsisfile/steps/basestep.cpp	Tue Jul 06 14:23:31 2010 +0300
+++ b/installationservices/swi/test/tsisfile/steps/basestep.cpp	Wed Aug 18 09:55:45 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-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"
@@ -141,6 +141,7 @@
 				SetTestStepResult(err);		
 				User::Leave(err);
 				}
+#ifdef SIS_CRC_CHECK_ENABLED			
 			TRAP(err, contents->CheckCrcL());
 			if (err == KErrCorrupt)
 				{
@@ -148,10 +149,11 @@
 				SetTestStepResult(err);		
 				User::Leave(err);
 				}
+#endif  			
 			CleanupStack::Pop(contents);	
-			return contents;								
-			}
+			return contents;	
 			
+			}		
 	CController* CParserTestStep::GetControllerL(CContents& contents, TBool aUseInPlaceParse)
 		{
 		TRAPD(err, iControllerData = contents.ReadControllerL());