updated smoketest plan to support both harnesses
authorbrendand
Mon, 02 Nov 2009 13:34:14 +0000
changeset 724 dc3b9f6bf48c
parent 723 6b540cc85619
child 725 fc1e294ca233
updated smoketest plan to support both harnesses
common/tools/ats/smoketest/Group/smoketest.pl
common/tools/ats/smoketest/Group/smoketest.xml
--- a/common/tools/ats/smoketest/Group/smoketest.pl	Mon Nov 02 13:12:44 2009 +0000
+++ b/common/tools/ats/smoketest/Group/smoketest.pl	Mon Nov 02 13:34:14 2009 +0000
@@ -11,6 +11,7 @@
 mkpath "temp/smoketest/sms/general";
 mkpath "temp/smoketest/emailmessage/general";
 mkpath "temp/smoketest/emailsettings/general";
+mkpath "temp/smoketest/general/TestFramework";
 
 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
 copy("smoketest.xml",												"temp/test.xml");
@@ -47,4 +48,7 @@
 copy($epoc . "release/winscw/udeb/t_msgpopserver.exe",				"temp/smoketest/winscw_udeb/t_msgpopserver.exe");
 copy($epoc . "release/winscw/udeb/t_msgsmtpserver.exe",				"temp/smoketest/winscw_udeb/t_msgsmtpserver.exe");
 
+copy($epoc . "release/winscw/udeb/ProfileSmokeTestModule.dll",      "temp/smoketest/winscw_udeb/ProfileSmokeTestModule.dll");
+copy($epoc . "winscw/c/TestFramework/ProfileSmokeTestModule.cfg",   "temp/smoketest/general/TestFramework/ProfileSmokeTestModule.cfg");
+
 system("7z a -tzip smoketest.zip ./temp/*");
--- a/common/tools/ats/smoketest/Group/smoketest.xml	Mon Nov 02 13:12:44 2009 +0000
+++ b/common/tools/ats/smoketest/Group/smoketest.xml	Mon Nov 02 13:34:14 2009 +0000
@@ -8,18 +8,15 @@
         <type>DiamondsAction</type>
     </postAction>
 	<name>smoketest</name>
-	<target>
-        <device rank="master" alias="emulator_udeb">
-            <property name="HARNESS" value="GENERIC" />
-        </device>
-	</target>
-	<plan id="1.01" name="WINSCW UDEB SmokeTest" harness="GENERIC" enabled="true" passrate="100">
-		<target>
-			<device rank="master" alias="emulator_udeb"/>
-		</target>
-		<session id="1.01.1" name="smoke tests" harness="GENERIC" enabled="true" passrate="100">
-			<set id="1.01.1.1" name="smoke tests" harness="GENERIC" enabled="true" passrate="100">
-				<case id="1.01.1.1.1" name="install and run smoketests" harness="GENERIC" enabled="true" passrate="100">
+	<plan id="" name="WINSCW UDEB SmokeTest" harness="GENERIC" enabled="true" passrate="100">
+		<session id="" name="smoke tests" harness="GENERIC" enabled="true" passrate="100">
+			<set id="" name="GENERIC smoke tests" harness="GENERIC" enabled="true" passrate="100">
+            	<target>
+                    <device rank="master" alias="emulator_udeb_tef">
+                        <property name="HARNESS" value="GENERIC" />
+                    </device>
+                </target>
+				<case id="" name="install and run GENERIC smoketests" harness="GENERIC" enabled="true" passrate="100">
 					<step id="" name="Test Step 1 (install)" harness="GENERIC" enabled="true" passrate="100" significant="false">
 						<command>install</command>
 						<params>
@@ -241,6 +238,48 @@
 					</step>
 				</case>
 			</set>
+            <set id="" name="ATSINTERFACE smoke tests" harness="ATSINTERFACE" enabled="true" passrate="100">
+            	<target>
+                    <device rank="master" alias="emulator_udeb_stif">
+                        <property name="HARNESS" value="ATSINTERFACE" />
+                    </device>
+                </target>
+                <case id="" name="install and run ATSINTERFACE smoketests" harness="ATSINTERFACE" enabled="true" passrate="100">
+                    <step id="" name="MakeDir (SPD_Logs)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+                        <command>makedir</command>
+                        <params>
+                            <param dir="c:\spd_logs\xml"/> 
+                        </params>
+                    </step>
+                    <step id="" name="ProfileSmokeTestModule.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="ProfileSmokeTestModule.dll"/>
+							<param dst="c:\sys\bin\ProfileSmokeTestModule.dll"/>
+							<param component-path="smoketest" />
+						</params>
+					</step>
+                    <step id="" name="ProfileSmokeTestModule.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="TestFramework/ProfileSmokeTestModule.cfg"/>
+							<param dst="c:\TestFramework\ProfileSmokeTestModule.cfg"/>
+							<param component-path="smoketest" />
+						</params>
+					</step>
+					<step id="" name="ProfileSmokeTestModule (execute)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="true">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testscripter -config c:\TestFramework\ProfileSmokeTestModule.cfg"/>
+							<param result-file="c:\spd_logs\xml\testscripter.xml"/>
+							<param timeout="600"/>
+						</params>
+					</step>
+                </case>
+            </set>
 		</session>
 	</plan>
 	<files>
@@ -273,5 +312,7 @@
 		<file>smoketest/winscw_udeb/t_msgutilityserver.dll</file>
 		<file>smoketest/winscw_udeb/t_msgpopserver.exe</file>
 		<file>smoketest/winscw_udeb/t_msgsmtpserver.exe</file>
+        <file>smoketest/winscw_udeb/ProfileSmokeTestModule.dll</file>
+        <file>smoketest/general/TestFramework/ProfileSmokeTestModule.cfg</file>
 	</files>
 </test>