cryptomgmtlibs/securitytestfw/inc/SecurityTests.iby
branchRCL_3
changeset 61 641f389e9157
parent 45 030c4fbc13d7
child 62 a71299154b21
--- a/cryptomgmtlibs/securitytestfw/inc/SecurityTests.iby	Thu Aug 19 11:38:48 2010 +0300
+++ b/cryptomgmtlibs/securitytestfw/inc/SecurityTests.iby	Tue Aug 31 17:00:08 2010 +0300
@@ -21,9 +21,11 @@
 // We need bigger ROFS files for tests with TBAS
 rofssize=0x2100000
 
+// conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation
+#ifdef _SERIAL_DOWNLOAD
 // Save build details in ROM
 data=\buildid.txt                 \buildid.txt
-
+#endif
 
 // This should be included in the Techview.oby file
 // All test data and scripts gets copied to the root of ROM drive.
@@ -47,9 +49,7 @@
 
 #include "securityframeworktestserver.iby"
 
-
 #if defined SYMBIAN_KEYSTORE_USE_AUTH_SERVER || defined SDP_ROM1
-
 	#include "ups.iby"
 	#include "tups.iby"
 	#include "asnpkcstests.iby"
@@ -57,7 +57,28 @@
 	#include "tpkcs7server.iby"     
 	#include "tpkcs12integrationserver.iby"  	
 	#include "ctframeworktests.iby"
-	#include "cryptotests.iby"
+	// conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation
+	// temp added
+	#ifndef _SERIAL_DOWNLOAD
+		#include "streamingcaf.iby"
+		// iby files for caf
+		#include "caf.iby"
+		#include "caftest.iby"
+		#include "reccafconfig.iby"
+		#include "rta.iby"
+		#include "rtatest.iby"
+		#include "cryptotests.iby"
+		#include "tscaf.iby"	
+		#include "randomtests.iby"
+		#include "hashtests.iby"
+
+		#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+		#include "mtputils.iby"
+		#include "mtputilstest.iby"
+		#include "refcafhelper.iby"
+		#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+	#endif
+
 #else
 	#include "streamingcaf.iby"
 	// iby files for caf
@@ -76,9 +97,19 @@
 	#include "mtputilstest.iby"
 	#include "refcafhelper.iby"
 	#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+	// conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation
+	// temp added
+	#ifndef _SERIAL_DOWNLOAD
+		#include "ups.iby"
+		#include "tups.iby"
+		#include "asnpkcstests.iby"
+		#include "certmantests.iby"
+		#include "tpkcs7server.iby"     
+		#include "tpkcs12integrationserver.iby"  	
+		#include "ctframeworktests.iby"		
+	#endif 
 
-#endif
- 
+#endif 
 	
 // Common utils libraries
 #include "securitycommonutils.iby"
@@ -99,6 +130,10 @@
 define ZDRIVE \epoc32\winscw\c
 // This is the bat file to run the security tests automatically
 // comms configuration (and configuration using sim.tsy)
+// temp addeed the next line
+#ifndef _SERIAL_DOWNLOAD
+data = ZDRIVE\auto.cfg                 \buildid.txt
+#endif
 data = ZDRIVE\auto.cfg					\auto.cfg
 data = ZDRIVE\auto_broken.cfg					\auto_broken.cfg
 data = ZDRIVE\autosimtsy.cfg					\autosimtsy.cfg
@@ -126,35 +161,33 @@
 #endif
 
 
+
 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
 	data = ZDRIVE\autohardware\runcrypto_wmdrm.bat	               	\runcrypto.bat
 #else
-	#ifdef __SECURITY_MANDATORY_SWICERTSTORE__
-		data = ZDRIVE\autohardware\runhardwarecrypto.bat				\runcrypto.bat
-	#else
-		data = ZDRIVE\autohardware\runcrypto.bat	               	\runcrypto.bat
-	#endif
+	data = ZDRIVE\autohardware\runcrypto.bat	               	\runcrypto.bat
 #endif
 
 
+
 data = ZDRIVE\autohardware\testsecurityperformance_cryptalg.bat	\testsecurityperformance_cryptalg.bat
 data = ZDRIVE\autohardware\testsecurityperformance_crypto.bat	\testsecurityperformance_crypto.bat
 
 #ifdef SYMBIAN_AUTH_SERVER
-	#ifdef SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
-		data = ZDRIVE\autohardware\runauthtests_macroenabled.bat		\runauthtests.bat
+#ifdef SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
+	data = ZDRIVE\autohardware\runauthtests_macroenabled.bat		\runauthtests.bat
+#else
+	data = ZDRIVE\autohardware\runauthtests.bat				\runauthtests.bat
+#endif	//SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
+#ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER
+	data = ZDRIVE\autohardware\runfiletokens_useauth.bat		\runfiletokens.bat
+#else
+	#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+		data = ZDRIVE\autohardware\runfiletokens_disableauth_with_wmdrm.bat		\runfiletokens.bat
 	#else
-		data = ZDRIVE\autohardware\runauthtests.bat				\runauthtests.bat
-	#endif	//SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
-	#ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER
-		data = ZDRIVE\autohardware\runfiletokens_useauth.bat		\runfiletokens.bat
-	#else
-		#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
-			data = ZDRIVE\autohardware\runfiletokens_disableauth_with_wmdrm.bat		\runfiletokens.bat
-		#else
-			data = ZDRIVE\autohardware\runfiletokens_disableauth.bat		\runfiletokens.bat
-		#endif
-	#endif // SYMBIAN_KEYSTORE_USE_AUTH_SERVER
+		data = ZDRIVE\autohardware\runfiletokens_disableauth.bat		\runfiletokens.bat
+	#endif
+#endif // SYMBIAN_KEYSTORE_USE_AUTH_SERVER
 #else
 	data = ZDRIVE\autohardware\runfiletokens.bat		\runfiletokens.bat
 #endif // SYMBIAN_AUTH_SERVER
@@ -198,7 +231,10 @@
 
 file=ABI_DIR\BUILD_DIR\RUNTESTS.EXE                 System\Programs\RUNTESTS.EXE
 
+// conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation
+#ifdef _SERIAL_DOWNLOAD
 #include "thindump.iby"
+#endif
 #include "sntpclient.iby"
 
 // *** Additional includes and configuration for SSM Requirements ***