diff -r 641f389e9157 -r a71299154b21 cryptomgmtlibs/securitytestfw/inc/SecurityTests.iby --- a/cryptomgmtlibs/securitytestfw/inc/SecurityTests.iby Tue Aug 31 17:00:08 2010 +0300 +++ b/cryptomgmtlibs/securitytestfw/inc/SecurityTests.iby Wed Sep 01 12:40:57 2010 +0100 @@ -21,11 +21,9 @@ // 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. @@ -49,7 +47,9 @@ #include "securityframeworktestserver.iby" + #if defined SYMBIAN_KEYSTORE_USE_AUTH_SERVER || defined SDP_ROM1 + #include "ups.iby" #include "tups.iby" #include "asnpkcstests.iby" @@ -57,28 +57,7 @@ #include "tpkcs7server.iby" #include "tpkcs12integrationserver.iby" #include "ctframeworktests.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 - + #include "cryptotests.iby" #else #include "streamingcaf.iby" // iby files for caf @@ -97,19 +76,9 @@ #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" @@ -130,10 +99,6 @@ 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 @@ -161,33 +126,35 @@ #endif - #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT data = ZDRIVE\autohardware\runcrypto_wmdrm.bat \runcrypto.bat #else - data = ZDRIVE\autohardware\runcrypto.bat \runcrypto.bat + #ifdef __SECURITY_MANDATORY_SWICERTSTORE__ + data = ZDRIVE\autohardware\runhardwarecrypto.bat \runcrypto.bat + #else + data = ZDRIVE\autohardware\runcrypto.bat \runcrypto.bat + #endif #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 -#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 + #ifdef SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS + data = ZDRIVE\autohardware\runauthtests_macroenabled.bat \runauthtests.bat #else - data = ZDRIVE\autohardware\runfiletokens_disableauth.bat \runfiletokens.bat - #endif -#endif // SYMBIAN_KEYSTORE_USE_AUTH_SERVER + 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 #else data = ZDRIVE\autohardware\runfiletokens.bat \runfiletokens.bat #endif // SYMBIAN_AUTH_SERVER @@ -231,10 +198,7 @@ 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 ***