doc/api/helium/target-sf-build-smoketestpkg.html
changeset 432 f2ddfa555b0f
child 627 56a1d97e7c73
equal deleted inserted replaced
431:7685cec9fd3c 432:f2ddfa555b0f
       
     1 
       
     2 <?xml version="1.0" encoding="utf-8"?>
       
     3 <!DOCTYPE HTML PUBLIC "-//w3c//dtd xhtml 1.0 strict//en"
       
     4       "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd">
       
     5 <html xmlns="http://www.w3.org/1999/xhtml">
       
     6 
       
     7 
       
     8 <head>
       
     9     <meta name="keywords" content="helium"/>
       
    10     <meta http-equiv="content-type" content="text/html+xml; charset=iso-8859-1"/>
       
    11     <link rel="stylesheet" href="stylesheet.css" type="text/css" />
       
    12     <script type="text/javascript">
       
    13       var DOCUMENTATION_OPTIONS = {
       
    14         URL_ROOT:   '',
       
    15         VERSION:    '0'
       
    16       };
       
    17     </script>
       
    18     <script type="text/javascript" src="../_static/jquery.js"></script>
       
    19 
       
    20     <script type="text/javascript" src="../_static/interface.js"></script>
       
    21     <script type="text/javascript" src="../_static/doctools.js"></script>
       
    22     
       
    23     <title>Target sf-build-smoketestpkg</title>
       
    24 </head>
       
    25 
       
    26 
       
    27 <body>
       
    28 <!-- ========= start of top navbar ======= -->
       
    29 <a name="navbar_top"><!-- --></a>
       
    30 <a href="#skip-navbar_top" title="skip navigation links"></a>
       
    31 <table border="0" width="100%" cellpadding="1" cellspacing="0" summary="">
       
    32 <tr>
       
    33 <td colspan="2" bgcolor="#eeeeff" class="navbarcell1">
       
    34 <a name="navbar_top_firstrow"><!-- --></a>
       
    35 <table border="0" cellpadding="0" cellspacing="3" summary="">
       
    36   <tr align="center" valign="top">
       
    37   <td bgcolor="#ffffff" class="navbarcell1"> &#160;<a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font>&#160;</a></td>
       
    38 
       
    39   <td bgcolor="#ffffff" class="navbarcell1">    <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a>&#160;</td>
       
    40     
       
    41   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a>&#160;</td>  
       
    42   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a>&#160;</td>
       
    43   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="help.html"><font class="navbarfont1"><b>help</b></font></a>&#160;</td>
       
    44   </tr>
       
    45 </table>
       
    46 </td>
       
    47 <td align="right" valign="top" rowspan="3"><em>
       
    48 <b>Helium API</b></em>
       
    49 
       
    50 </td>
       
    51 </tr>
       
    52 
       
    53 <tr>
       
    54 <td bgcolor="white" class="navbarcell2"><font size="-2">
       
    55 &#160;prev&#160;
       
    56 &#160;next</font></td>
       
    57 <td bgcolor="white" class="navbarcell2"><font size="-2">
       
    58   <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>  &#160;
       
    59 &#160;<a href="overview-summary.html" target="_top"><b>no frames</b></a>  &#160;
       
    60 
       
    61 &#160;<script type="text/javascript">
       
    62   <!--
       
    63   if(window==top) {
       
    64     document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>');
       
    65   }
       
    66   //-->
       
    67 </script>
       
    68 <noscript>
       
    69   <a href="allclasses-noframe.html"><b>all classes</b></a>
       
    70 </noscript>
       
    71 
       
    72 
       
    73 </font></td>
       
    74 </tr>
       
    75 </table>
       
    76 <a name="skip-navbar_top"></a>
       
    77 <!-- ========= end of top navbar ========= -->
       
    78     <hr/>
       
    79 
       
    80 
       
    81     
       
    82 <h2>Target sf-build-smoketestpkg</h2>
       
    83 
       
    84 <p><b>Location</b></p>
       
    85 <p>    <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.test.xml#L139">D:\maintools\sf-config\common\build.test.xml:139:</a></tt>  
       
    86 </p>
       
    87 
       
    88 <p><b>Conditional execution</b></p>        
       
    89 <p>No conditions on target execution.</p>
       
    90 <hr/>
       
    91 
       
    92 <h3>Description</h3>
       
    93 <p>
       
    94 <p>Preparing smoketest package (zip) for sending to ATS3</p></p>
       
    95 <p/>
       
    96 <hr/>
       
    97 
       
    98 
       
    99 <h3>Target external Dependency</h3>
       
   100 <p> 
       
   101 <table class="docutils" width="50%">
       
   102     <tr>
       
   103         <th class="head">Name</th>
       
   104     </tr>
       
   105         <tr>
       
   106                     <td>cmd</td>
       
   107             </tr>
       
   108         <tr>
       
   109                     <td>perl</td>
       
   110             </tr>
       
   111         <tr>
       
   112                     <td>perl</td>
       
   113             </tr>
       
   114 </table>
       
   115 </p>
       
   116 
       
   117 
       
   118 <h3>Property dependencies</h3>
       
   119 
       
   120 
       
   121 <p> 
       
   122 <table class="docutils" width="50%">
       
   123     <tr>
       
   124         <th class="head">Name</th><th class="head">Edit status</th>
       
   125     </tr>
       
   126     <tr>
       
   127         <td colspan="2">User editable properties</td>
       
   128     </tr>
       
   129                     <tr>
       
   130                         <td><a href="property-build.drive.html" title="<p>Substed drive where the build is performed. if not defined then helium should search next available build drive letter and subst autometically</p>" target="classframe"><tt class="docutils literal">build.drive</tt></a></td><td><a href="help.html" title="Help" target="classframe">recommended</a></td>
       
   131                     </tr>
       
   132     <tr>
       
   133         <td colspan="2">Internal properties</td>
       
   134     </tr>
       
   135                     <tr>
       
   136                         <td><a href="property-build.id.html" title="<p>A unique ID for the build.</p>" target="classframe"><tt class="docutils literal">build.id</tt></a></td><td><a href="help.html" title="Help" target="classframe">discouraged</a></td>
       
   137                     </tr>
       
   138                     <tr>
       
   139                         <td><a href="property-build.log.dir.html" title="<p>This is where the build logs are stored.</p>" target="classframe"><tt class="docutils literal">build.log.dir</tt></a></td><td><a href="help.html" title="Help" target="classframe">discouraged</a></td>
       
   140                     </tr>
       
   141                     <tr>
       
   142                         <td><a href="property-diamonds.build.id.html" title="<p>The ID assigned to the build by the Diamonds server.</p>" target="classframe"><tt class="docutils literal">diamonds.build.id</tt></a></td><td><a href="help.html" title="Help" target="classframe">never</a></td>
       
   143                     </tr>
       
   144 </table>
       
   145 </p>
       
   146 
       
   147 <hr/>
       
   148 
       
   149 
       
   150 <h3>Target dependencies</h3>
       
   151 <p align="center">
       
   152 <img src="target-sf-build-smoketestpkg.dot.png" alt="sf-build-smoketestpkg dependencies" usemap="#dependencies"
       
   153      style="border-style: none"/>
       
   154 <map name="dependencies" id="dependencies">
       
   155 <area shape="rect" id="node1" href="target-sf-build-smoketestpkg.html" title="sf&#45;build&#45;smoketestpkg" alt="" coords="156,5,329,53">
       
   156 <area shape="rect" id="node4" href="target-sf-getenv-tools.html" title="sf&#45;getenv&#45;tools" alt="" coords="379,5,501,53">
       
   157 <area shape="rect" id="node2" href="target-sf-postbuild.html" title="sf&#45;postbuild" alt="" coords="5,5,107,53">
       
   158 <area shape="rect" id="node6" href="target-preparation-getenv.html" title="preparation&#45;getenv" alt="" coords="549,5,701,53">
       
   159 </map>
       
   160 </p>
       
   161 <hr/>
       
   162 
       
   163 
       
   164 <h3>Source code</h3>
       
   165 <pre>
       
   166     &lt;target name=&quot;sf-build-smoketestpkg&quot; depends=&quot;sf-getenv-tools&quot;&gt;
       
   167         &lt;delete dir=&quot;${build.drive}/smoketest&quot;/&gt;
       
   168         &lt;delete file=&quot;${build.log.dir}/ATS_${build.id}_smoketest.log&quot;/&gt;
       
   169         
       
   170         &lt;echo message=&quot;INFO Copy smoketest source to EPOCROOT&quot;/&gt;
       
   171         
       
   172         &lt;copy todir=&quot;${build.drive}/smoketest&quot;&gt;
       
   173             &lt;fileset dir=&quot;${sf.common.config.dir}/tools/ats/smoketest&quot;/&gt;
       
   174         &lt;/copy&gt;
       
   175         
       
   176         &lt;echo message=&quot;INFO Building smoketest&quot;/&gt;
       
   177         &lt;exec executable=&quot;cmd&quot; dir=&quot;${build.drive}/smoketest/group&quot; failonerror=&quot;false&quot; append=&quot;true&quot; output=&quot;${build.log.dir}/ATS_${build.id}_smoketest.log&quot;&gt;
       
   178             &lt;arg value=&quot;/c&quot;/&gt;
       
   179             &lt;arg value=&quot;sbs -b bld.inf -c winscw_udeb.test&quot;/&gt;
       
   180         &lt;/exec&gt;
       
   181 
       
   182         &lt;echo message=&quot;INFO Creating smoketest testpackage&quot;/&gt;
       
   183         &lt;exec executable=&quot;perl&quot; dir=&quot;${build.drive}/smoketest/group&quot; failonerror=&quot;false&quot; append=&quot;true&quot; output=&quot;${build.log.dir}/ATS_${build.id}_smoketest.log&quot;&gt;
       
   184             &lt;arg value=&quot;smoketest.pl&quot;/&gt;
       
   185         &lt;/exec&gt;
       
   186         &lt;copy file=&quot;${build.drive}/smoketest/group/smoketest.zip&quot; todir=&quot;${sf.spec.test.package.location}&quot;/&gt;
       
   187         
       
   188         &lt;echo message=&quot;INFO Updating smoketest package with test info&quot;/&gt;
       
   189         &lt;exec executable=&quot;perl&quot; dir=&quot;${sf.common.config.dir}/tools/ats/&quot; failonerror=&quot;false&quot; append=&quot;true&quot; output=&quot;${build.log.dir}/ATS_${build.id}_smoketest.log&quot;&gt;
       
   190             &lt;arg value=&quot;ats_specialise_test_drop.pl&quot;/&gt;
       
   191             &lt;arg value=&quot;--test-drop-name=Smoketest-${build.id}&quot;/&gt; 
       
   192             &lt;arg value=&quot;--device-name=GENERIC EMULATOR on ${env.COMPUTERNAME}&quot;/&gt;
       
   193             &lt;arg value=&quot;--src=${sf.spec.test.package.location}\smoketest.zip&quot;/&gt;
       
   194             &lt;arg value=&quot;--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}&quot;/&gt;	
       
   195             &lt;arg value=&quot;--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}&quot;/&gt;			
       
   196         &lt;/exec&gt;
       
   197         &lt;!-- Now ready to send to ATS3 --&gt;
       
   198     &lt;/target&gt;
       
   199 </pre>
       
   200 
       
   201 
       
   202     <hr/>
       
   203 <!-- ========= start of top navbar ======= -->
       
   204 <a name="navbar_top"><!-- --></a>
       
   205 <a href="#skip-navbar_top" title="skip navigation links"></a>
       
   206 <table border="0" width="100%" cellpadding="1" cellspacing="0" summary="">
       
   207 <tr>
       
   208 <td colspan="2" bgcolor="#eeeeff" class="navbarcell1">
       
   209 <a name="navbar_top_firstrow"><!-- --></a>
       
   210 <table border="0" cellpadding="0" cellspacing="3" summary="">
       
   211   <tr align="center" valign="top">
       
   212   <td bgcolor="#ffffff" class="navbarcell1"> &#160;<a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font>&#160;</a></td>
       
   213 
       
   214   <td bgcolor="#ffffff" class="navbarcell1">    <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a>&#160;</td>
       
   215     
       
   216   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a>&#160;</td>  
       
   217   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a>&#160;</td>
       
   218   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="help.html"><font class="navbarfont1"><b>help</b></font></a>&#160;</td>
       
   219   </tr>
       
   220 </table>
       
   221 </td>
       
   222 <td align="right" valign="top" rowspan="3"><em>
       
   223 <b>Helium API</b></em>
       
   224 
       
   225 </td>
       
   226 </tr>
       
   227 
       
   228 <tr>
       
   229 <td bgcolor="white" class="navbarcell2"><font size="-2">
       
   230 &#160;prev&#160;
       
   231 &#160;next</font></td>
       
   232 <td bgcolor="white" class="navbarcell2"><font size="-2">
       
   233   <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>  &#160;
       
   234 &#160;<a href="overview-summary.html" target="_top"><b>no frames</b></a>  &#160;
       
   235 
       
   236 &#160;<script type="text/javascript">
       
   237   <!--
       
   238   if(window==top) {
       
   239     document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>');
       
   240   }
       
   241   //-->
       
   242 </script>
       
   243 <noscript>
       
   244   <a href="allclasses-noframe.html"><b>all classes</b></a>
       
   245 </noscript>
       
   246 
       
   247 
       
   248 </font></td>
       
   249 </tr>
       
   250 </table>
       
   251 <a name="skip-navbar_top"></a>
       
   252 <!-- ========= end of top navbar ========= -->
       
   253     <font size="-2">Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html</font>
       
   254  </body>
       
   255 
       
   256 </html>
       
   257 
       
   258