diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/helium/target-sf-build-smoketestpkg.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/helium/target-sf-build-smoketestpkg.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + Target sf-build-smoketestpkg + + + + + + + + + + + + + + + + + +
+Helium API + +
+ + +
+ + + +

Target sf-build-smoketestpkg

+ +

Location

+

D:\maintools\sf-config\common\build.test.xml:139: +

+ +

Conditional execution

+

No conditions on target execution.

+
+ +

Description

+

+

Preparing smoketest package (zip) for sending to ATS3

+

+


+ + +

Target external Dependency

+

+ + + + + + + + + + + + + +
Name
cmd
perl
perl
+

+ + +

Property dependencies

+ + +

+ + + + + + + + + + + + + + + + + + + + + + +
NameEdit status
User editable properties
build.driverecommended
Internal properties
build.iddiscouraged
build.log.dirdiscouraged
diamonds.build.idnever
+

+ +
+ + +

Target dependencies

+

+sf-build-smoketestpkg dependencies + + + + + + +

+
+ + +

Source code

+
+    <target name="sf-build-smoketestpkg" depends="sf-getenv-tools">
+        <delete dir="${build.drive}/smoketest"/>
+        <delete file="${build.log.dir}/ATS_${build.id}_smoketest.log"/>
+        
+        <echo message="INFO Copy smoketest source to EPOCROOT"/>
+        
+        <copy todir="${build.drive}/smoketest">
+            <fileset dir="${sf.common.config.dir}/tools/ats/smoketest"/>
+        </copy>
+        
+        <echo message="INFO Building smoketest"/>
+        <exec executable="cmd" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
+            <arg value="/c"/>
+            <arg value="sbs -b bld.inf -c winscw_udeb.test"/>
+        </exec>
+
+        <echo message="INFO Creating smoketest testpackage"/>
+        <exec executable="perl" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
+            <arg value="smoketest.pl"/>
+        </exec>
+        <copy file="${build.drive}/smoketest/group/smoketest.zip" todir="${sf.spec.test.package.location}"/>
+        
+        <echo message="INFO Updating smoketest package with test info"/>
+        <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
+            <arg value="ats_specialise_test_drop.pl"/>
+            <arg value="--test-drop-name=Smoketest-${build.id}"/> 
+            <arg value="--device-name=GENERIC EMULATOR on ${env.COMPUTERNAME}"/>
+            <arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/>
+            <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/>	
+            <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/>			
+        </exec>
+        <!-- Now ready to send to ATS3 -->
+    </target>
+
+ + +
+ + + + + + + + + + + + + +
+Helium API + +
+ + + Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html + + + + +