|
1 <?xml version="1.0" encoding="ascii"?> |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "DTD/xhtml1-transitional.dtd"> |
|
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
5 <head> |
|
6 <title>ats3.testconfigurator</title> |
|
7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> |
|
8 <script type="text/javascript" src="epydoc.js"></script> |
|
9 </head> |
|
10 |
|
11 <body bgcolor="white" text="black" link="blue" vlink="#204080" |
|
12 alink="#204080"> |
|
13 <!-- ==================== NAVIGATION BAR ==================== --> |
|
14 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
15 bgcolor="#a0c0ff" cellspacing="0"> |
|
16 <tr valign="middle"> |
|
17 |
|
18 <!-- Tree link --> |
|
19 <th> <a |
|
20 href="module-tree.html">Trees</a> </th> |
|
21 |
|
22 <!-- Index link --> |
|
23 <th> <a |
|
24 href="identifier-index.html">Indices</a> </th> |
|
25 |
|
26 <!-- Help link --> |
|
27 <th> <a |
|
28 href="help.html">Help</a> </th> |
|
29 |
|
30 <th class="navbar" width="100%"></th> |
|
31 </tr> |
|
32 </table> |
|
33 <table width="100%" cellpadding="0" cellspacing="0"> |
|
34 <tr valign="top"> |
|
35 <td width="100%"> |
|
36 <span class="breadcrumbs"> |
|
37 <a href="ats3-module.html">Package ats3</a> :: |
|
38 Module testconfigurator |
|
39 </span> |
|
40 </td> |
|
41 <td> |
|
42 <table cellpadding="0" cellspacing="0"> |
|
43 <!-- hide/show private --> |
|
44 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
|
45 onclick="toggle_private();">hide private</a>]</span></td></tr> |
|
46 <tr><td align="right"><span class="options" |
|
47 >[<a href="frames.html" target="_top">frames</a |
|
48 >] | <a href="ats3.testconfigurator-pysrc.html" |
|
49 target="_top">no frames</a>]</span></td></tr> |
|
50 </table> |
|
51 </td> |
|
52 </tr> |
|
53 </table> |
|
54 <h1 class="epydoc">Source Code for <a href="ats3.testconfigurator-module.html">Module ats3.testconfigurator</a></h1> |
|
55 <pre class="py-src"> |
|
56 <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># -*- encoding: latin-1 -*-</tt> </tt> |
|
57 <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> |
|
58 <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment">#============================================================================ </tt> </tt> |
|
59 <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Name : testconfigurator.py </tt> </tt> |
|
60 <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Part of : Helium </tt> </tt> |
|
61 <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> |
|
62 <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment">#Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).</tt> </tt> |
|
63 <a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#All rights reserved.</tt> </tt> |
|
64 <a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#This component and the accompanying materials are made available</tt> </tt> |
|
65 <a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#under the terms of the License "Eclipse Public License v1.0"</tt> </tt> |
|
66 <a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#which accompanies this distribution, and is available</tt> </tt> |
|
67 <a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#at the URL "http://www.eclipse.org/legal/epl-v10.html".</tt> </tt> |
|
68 <a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> |
|
69 <a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Initial Contributors:</tt> </tt> |
|
70 <a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Nokia Corporation - initial contribution.</tt> </tt> |
|
71 <a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> |
|
72 <a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Contributors:</tt> </tt> |
|
73 <a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> |
|
74 <a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Description:</tt> </tt> |
|
75 <a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#===============================================================================</tt> </tt> |
|
76 <a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> |
|
77 <a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"> </tt> |
|
78 <a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Method buildtools.Command.path()=buildtools.Command-class.html#path,Method sysdef.api.SpecialInstruction.path()=sysdef.api.SpecialInstruction-class.html#path,Method sysdef.api.Unit.path()=sysdef.api.Unit-class.html#path"><a title="buildtools.Command.path |
|
79 sysdef.api.SpecialInstruction.path |
|
80 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-0', 'path', 'link-0');">path</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name"><a title="buildtools.Command.path |
|
81 sysdef.api.SpecialInstruction.path |
|
82 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-1', 'path', 'link-0');">path</a></tt> </tt> |
|
83 <a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-2" class="py-name" targets="Package ats3=ats3-module.html"><a title="ats3" class="py-name" href="#" onclick="return doclink('link-2', 'ats3', 'link-2');">ats3</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Module ats3.parsers=ats3.parsers-module.html"><a title="ats3.parsers" class="py-name" href="#" onclick="return doclink('link-3', 'parsers', 'link-3');">parsers</a></tt> <tt class="py-keyword">as</tt> <tt class="py-name">parser</tt> </tt> |
|
84 <a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt> |
|
85 <a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt> |
|
86 <a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">re</tt> </tt> |
|
87 <a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">subprocess</tt> </tt> |
|
88 <a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"> </tt> |
|
89 <a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"><tt id="link-4" class="py-name" targets="Variable archive.builders._logger=archive.builders-module.html#_logger,Variable archive.mappers._logger=archive.mappers-module.html#_logger,Variable archive.tools._logger=archive.tools-module.html#_logger,Variable ats3._logger=ats3-module.html#_logger,Variable ats3.aste._logger=ats3.aste-module.html#_logger,Variable ats3.dropgenerator._logger=ats3.dropgenerator-module.html#_logger,Variable ats3.parsers._logger=ats3.parsers-module.html#_logger,Variable ats3.testconfigurator._logger=ats3.testconfigurator-module.html#_logger,Variable build.io._logger=build.io-module.html#_logger,Variable build.model._logger=build.model-module.html#_logger,Variable ccm._logger=ccm-module.html#_logger,Variable ccm.extra._logger=ccm.extra-module.html#_logger,Variable comments._logger=comments-module.html#_logger,Variable configuration._logger=configuration-module.html#_logger,Variable configuration_model._logger=configuration_model-module.html#_logger,Variable delta_zip._logger=delta_zip-module.html#_logger,Variable integration.quality._logger=integration.quality-module.html#_logger,Variable nokia.gscm._logger=nokia.gscm-module.html#_logger,Variable nokia.nokiaccm._logger=nokia.nokiaccm-module.html#_logger,Variable pathaddition.match._logger=pathaddition.match-module.html#_logger,Variable preparation._logger=preparation-module.html#_logger,Variable symbian.log._logger=symbian.log-module.html#_logger,Variable sysdef.api._logger=sysdef.api-module.html#_logger"><a title="archive.builders._logger |
|
90 archive.mappers._logger |
|
91 archive.tools._logger |
|
92 ats3._logger |
|
93 ats3.aste._logger |
|
94 ats3.dropgenerator._logger |
|
95 ats3.parsers._logger |
|
96 ats3.testconfigurator._logger |
|
97 build.io._logger |
|
98 build.model._logger |
|
99 ccm._logger |
|
100 ccm.extra._logger |
|
101 comments._logger |
|
102 configuration._logger |
|
103 configuration_model._logger |
|
104 delta_zip._logger |
|
105 integration.quality._logger |
|
106 nokia.gscm._logger |
|
107 nokia.nokiaccm._logger |
|
108 pathaddition.match._logger |
|
109 preparation._logger |
|
110 symbian.log._logger |
|
111 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-4', '_logger', 'link-4');">_logger</a></tt> <tt class="py-op">=</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">getLogger</tt><tt class="py-op">(</tt><tt class="py-string">'ats3'</tt><tt class="py-op">)</tt> </tt> |
|
112 <a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> </tt> |
|
113 <a name="Ats3ComponentParser"></a><div id="Ats3ComponentParser-def"><a name="L32"></a><tt class="py-lineno"> 32</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser-toggle" onclick="return toggle('Ats3ComponentParser');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html">Ats3ComponentParser</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
114 </div><div id="Ats3ComponentParser-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Ats3ComponentParser-expanded"><a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> |
|
115 <a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"><tt class="py-docstring"> Parse Symbian SW component for ATS3 testing related information.</tt> </tt> |
|
116 <a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt> |
|
117 <a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"><tt class="py-docstring"> Parses a component's source directories for testing related settings and</tt> </tt> |
|
118 <a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"><tt class="py-docstring"> files, and generates a TestPlan out of the findings.</tt> </tt> |
|
119 <a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt> |
|
120 <a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> |
|
121 <a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"> </tt> |
|
122 <a name="Ats3ComponentParser.__init__"></a><div id="Ats3ComponentParser.__init__-def"><a name="L41"></a><tt class="py-lineno"> 41</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.__init__-toggle" onclick="return toggle('Ats3ComponentParser.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
123 </div><div id="Ats3ComponentParser.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.__init__-expanded"><a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> </tt> |
|
124 <a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">target_platform</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt class="py-name">target_platform</tt> </tt> |
|
125 <a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pkg_parser</tt> <tt class="py-op">=</tt> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Class ats3.parsers.PkgFileParser=ats3.parsers.PkgFileParser-class.html"><a title="ats3.parsers.PkgFileParser" class="py-name" href="#" onclick="return doclink('link-5', 'PkgFileParser', 'link-5');">PkgFileParser</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">target_platform</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">" "</tt><tt class="py-op">,</tt> <tt class="py-string">"_"</tt><tt class="py-op">)</tt><tt class="py-op">+</tt><tt class="py-string">".pkg"</tt><tt class="py-op">)</tt> </tt> |
|
126 <a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> </tt> |
|
127 <a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">bld_parser</tt> <tt class="py-op">=</tt> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Class ats3.parsers.BldFileParser=ats3.parsers.BldFileParser-class.html"><a title="ats3.parsers.BldFileParser" class="py-name" href="#" onclick="return doclink('link-6', 'BldFileParser', 'link-6');">BldFileParser</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
128 <a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">mmp_parser</tt> <tt class="py-op">=</tt> <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Class ats3.parsers.MmpFileParser=ats3.parsers.MmpFileParser-class.html"><a title="ats3.parsers.MmpFileParser" class="py-name" href="#" onclick="return doclink('link-7', 'MmpFileParser', 'link-7');">MmpFileParser</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
129 <a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> </tt> |
|
130 <a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">data_dirs</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt class="py-name">data_dir</tt> </tt> |
|
131 <a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">flash_images</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-8" class="py-name"><a title="buildtools.Command.path |
|
132 sysdef.api.SpecialInstruction.path |
|
133 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-8', 'path', 'link-0');">path</a></tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">p</tt> <tt class="py-keyword">in</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt class="py-name">flash_images</tt><tt class="py-op">]</tt> </tt> |
|
134 <a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> |
|
135 <a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">build_drive</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt class="py-name">build_drive</tt> </tt> |
|
136 <a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">target_platform</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt class="py-name">target_platform</tt> </tt> |
|
137 <a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">sis_files</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt class="py-name">sis_files</tt> </tt> |
|
138 <a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">cfg_harness</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt class="py-name">harness</tt> </tt> |
|
139 <a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">test_timeout</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt class="py-name">test_timeout</tt> </tt> |
|
140 <a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">trace_enabled</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt class="py-name">trace_enabled</tt> </tt> |
|
141 <a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">excludable_dlls</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
142 <a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">custom_dir</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> |
|
143 </div><a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> </tt> |
|
144 <a name="Ats3ComponentParser.insert_testset_stif"></a><div id="Ats3ComponentParser.insert_testset_stif-def"><a name="L61"></a><tt class="py-lineno"> 61</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.insert_testset_stif-toggle" onclick="return toggle('Ats3ComponentParser.insert_testset_stif');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#insert_testset_stif">insert_testset_stif</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">src_dst</tt><tt class="py-op">,</tt> <tt class="py-param">pkg_paths</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
145 </div><div id="Ats3ComponentParser.insert_testset_stif-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.insert_testset_stif-expanded"><a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-docstring">"""Inserts test set data to test plan for stif"""</tt> </tt> |
|
146 <a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">pkg_paths</tt><tt class="py-op">:</tt> </tt> |
|
147 <a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> |
|
148 <a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> </tt> |
|
149 <a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> <tt class="py-name">tsrc_testdata_files</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_data_files()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_data_files"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_data_files" class="py-name" href="#" onclick="return doclink('link-9', 'tsrc_data_files', 'link-9');">tsrc_data_files</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
150 <a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">data_file</tt> <tt class="py-keyword">in</tt> <tt class="py-name">tsrc_testdata_files</tt><tt class="py-op">:</tt> </tt> |
|
151 <a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">"\\mmc\\"</tt> <tt class="py-keyword">in</tt> <tt class="py-name">data_file</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
152 <a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method ccm.Folder.append()=ccm.Folder-class.html#append,Method ccm.Task.append()=ccm.Task-class.html#append"><a title="ccm.Folder.append |
|
153 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-10', 'append', 'link-10');">append</a></tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">data_file</tt><tt class="py-op">,</tt> <tt id="link-11" class="py-name"><a title="buildtools.Command.path |
|
154 sysdef.api.SpecialInstruction.path |
|
155 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-11', 'path', 'link-0');">path</a></tt><tt class="py-op">(</tt><tt class="py-string">r"e:\testing\data"</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-name">data_file</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Method buildtools.Command.name()=buildtools.Command-class.html#name,Method ccm.FourPartName.name()=ccm.FourPartName-class.html#name,Method symrec.ServicePack.name()=symrec.ServicePack-class.html#name,Method sysdef.api.Configuration.name()=sysdef.api.Configuration-class.html#name,Method sysdef.api.Option.name()=sysdef.api.Option-class.html#name,Method sysdef.api.SpecialInstruction.name()=sysdef.api.SpecialInstruction-class.html#name,Method sysdef.api.Target.name()=sysdef.api.Target-class.html#name,Method sysdef.api.TargetList.name()=sysdef.api.TargetList-class.html#name,Method sysdef.api.Unit.name()=sysdef.api.Unit-class.html#name,Method sysdef.api._UnitGroup.name()=sysdef.api._UnitGroup-class.html#name"><a title="buildtools.Command.name |
|
156 ccm.FourPartName.name |
|
157 symrec.ServicePack.name |
|
158 sysdef.api.Configuration.name |
|
159 sysdef.api.Option.name |
|
160 sysdef.api.SpecialInstruction.name |
|
161 sysdef.api.Target.name |
|
162 sysdef.api.TargetList.name |
|
163 sysdef.api.Unit.name |
|
164 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-12', 'name', 'link-12');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">"data"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
165 <a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-string">"\\c\\"</tt> <tt class="py-keyword">in</tt> <tt class="py-name">data_file</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
166 <a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="ccm.Folder.append |
|
167 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-13', 'append', 'link-10');">append</a></tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">data_file</tt><tt class="py-op">,</tt> <tt id="link-14" class="py-name"><a title="buildtools.Command.path |
|
168 sysdef.api.SpecialInstruction.path |
|
169 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-14', 'path', 'link-0');">path</a></tt><tt class="py-op">(</tt><tt class="py-string">r"c:\testing\data"</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-name">data_file</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name"><a title="buildtools.Command.name |
|
170 ccm.FourPartName.name |
|
171 symrec.ServicePack.name |
|
172 sysdef.api.Configuration.name |
|
173 sysdef.api.Option.name |
|
174 sysdef.api.SpecialInstruction.name |
|
175 sysdef.api.Target.name |
|
176 sysdef.api.TargetList.name |
|
177 sysdef.api.Unit.name |
|
178 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-15', 'name', 'link-12');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">"data"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
179 <a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
180 <a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="ccm.Folder.append |
|
181 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-16', 'append', 'link-10');">append</a></tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">data_file</tt><tt class="py-op">,</tt> <tt id="link-17" class="py-name"><a title="buildtools.Command.path |
|
182 sysdef.api.SpecialInstruction.path |
|
183 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-17', 'path', 'link-0');">path</a></tt><tt class="py-op">(</tt><tt class="py-string">r"c:\testing\data"</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-name">data_file</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="buildtools.Command.name |
|
184 ccm.FourPartName.name |
|
185 symrec.ServicePack.name |
|
186 sysdef.api.Configuration.name |
|
187 sysdef.api.Option.name |
|
188 sysdef.api.SpecialInstruction.name |
|
189 sysdef.api.Target.name |
|
190 sysdef.api.TargetList.name |
|
191 sysdef.api.Unit.name |
|
192 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-18', 'name', 'link-12');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">"data"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
193 <a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">:</tt> </tt> |
|
194 <a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> <tt id="link-19" class="py-name"><a title="archive.builders._logger |
|
195 archive.mappers._logger |
|
196 archive.tools._logger |
|
197 ats3._logger |
|
198 ats3.aste._logger |
|
199 ats3.dropgenerator._logger |
|
200 ats3.parsers._logger |
|
201 ats3.testconfigurator._logger |
|
202 build.io._logger |
|
203 build.model._logger |
|
204 ccm._logger |
|
205 ccm.extra._logger |
|
206 comments._logger |
|
207 configuration._logger |
|
208 configuration_model._logger |
|
209 delta_zip._logger |
|
210 integration.quality._logger |
|
211 nokia.gscm._logger |
|
212 nokia.nokiaccm._logger |
|
213 pathaddition.match._logger |
|
214 preparation._logger |
|
215 symbian.log._logger |
|
216 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-19', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"No testdata folder"</tt> <tt class="py-op">)</tt> </tt> |
|
217 <a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-name">tsrc_testdata_files</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> |
|
218 <a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> </tt> |
|
219 <a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
220 <a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> |
|
221 <a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt> <tt class="py-op">=</tt> <tt class="py-name">pkg_paths</tt> </tt> |
|
222 <a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">:</tt> </tt> |
|
223 <a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> <tt id="link-20" class="py-name"><a title="archive.builders._logger |
|
224 archive.mappers._logger |
|
225 archive.tools._logger |
|
226 ats3._logger |
|
227 ats3.aste._logger |
|
228 ats3.dropgenerator._logger |
|
229 ats3.parsers._logger |
|
230 ats3.testconfigurator._logger |
|
231 build.io._logger |
|
232 build.model._logger |
|
233 ccm._logger |
|
234 ccm.extra._logger |
|
235 comments._logger |
|
236 configuration._logger |
|
237 configuration_model._logger |
|
238 delta_zip._logger |
|
239 integration.quality._logger |
|
240 nokia.gscm._logger |
|
241 nokia.nokiaccm._logger |
|
242 pathaddition.match._logger |
|
243 preparation._logger |
|
244 symbian.log._logger |
|
245 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-20', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"No pkg file in tsrc/group directory ( %s )"</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_pkg_dir()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_pkg_dir"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_pkg_dir" class="py-name" href="#" onclick="return doclink('link-21', 'tsrc_pkg_dir', 'link-21');">tsrc_pkg_dir</a></tt><tt class="py-op">)</tt> </tt> |
|
246 <a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
247 <a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">IndexError</tt><tt class="py-op">:</tt> </tt> |
|
248 <a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> <tt id="link-22" class="py-name"><a title="archive.builders._logger |
|
249 archive.mappers._logger |
|
250 archive.tools._logger |
|
251 ats3._logger |
|
252 ats3.aste._logger |
|
253 ats3.dropgenerator._logger |
|
254 ats3.parsers._logger |
|
255 ats3.testconfigurator._logger |
|
256 build.io._logger |
|
257 build.model._logger |
|
258 ccm._logger |
|
259 ccm.extra._logger |
|
260 comments._logger |
|
261 configuration._logger |
|
262 configuration_model._logger |
|
263 delta_zip._logger |
|
264 integration.quality._logger |
|
265 nokia.gscm._logger |
|
266 nokia.nokiaccm._logger |
|
267 pathaddition.match._logger |
|
268 preparation._logger |
|
269 symbian.log._logger |
|
270 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-22', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"No pkg file in tsrc/group directory ( %s )"</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_pkg_dir" class="py-name" href="#" onclick="return doclink('link-23', 'tsrc_pkg_dir', 'link-21');">tsrc_pkg_dir</a></tt><tt class="py-op">)</tt> </tt> |
|
271 <a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
272 <a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> </tt> |
|
273 <a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">src_dst</tt> </tt> |
|
274 </div><a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> </tt> |
|
275 <a name="Ats3ComponentParser.insert_test_set"></a><div id="Ats3ComponentParser.insert_test_set-def"><a name="L90"></a><tt class="py-lineno"> 90</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.insert_test_set-toggle" onclick="return toggle('Ats3ComponentParser.insert_test_set');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#insert_test_set">insert_test_set</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">test_plan</tt><tt class="py-op">,</tt> <tt class="py-param">tsrc_dir</tt><tt class="py-op">,</tt> <tt class="py-param">_paths_dict_</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
276 </div><div id="Ats3ComponentParser.insert_test_set-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.insert_test_set-expanded"><a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-docstring">"""Parse tsrc directory, storing data into the test plan."""</tt> </tt> |
|
277 <a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt> <tt class="py-op">=</tt> <tt id="link-24" class="py-name"><a title="buildtools.Command.path |
|
278 sysdef.api.SpecialInstruction.path |
|
279 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-24', 'path', 'link-0');">path</a></tt><tt class="py-op">(</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">)</tt> <tt class="py-comment"># Store current test source dir.</tt> </tt> |
|
280 <a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-name">tsrc_testdata_files</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
281 <a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt id="link-25" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_config_files()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_config_files"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_config_files" class="py-name" href="#" onclick="return doclink('link-25', 'tsrc_config_files', 'link-25');">tsrc_config_files</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
282 <a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">custom_dir</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> |
|
283 <a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> <tt class="py-name">engine_ini_file</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> |
|
284 <a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt class="py-name">test_harness</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">cfg_harness</tt> </tt> |
|
285 <a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
286 <a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-name">pmd_files</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
287 <a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt class="py-name">trace_activation_files</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
288 <a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="buildtools.Command.path |
|
289 sysdef.api.SpecialInstruction.path |
|
290 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-26', 'path', 'link-0');">path</a></tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Method ccm.CCMObject.exists()=ccm.CCMObject-class.html#exists"><a title="ccm.CCMObject.exists" class="py-name" href="#" onclick="return doclink('link-27', 'exists', 'link-27');">exists</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
291 <a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> <tt id="link-28" class="py-name"><a title="archive.builders._logger |
|
292 archive.mappers._logger |
|
293 archive.tools._logger |
|
294 ats3._logger |
|
295 ats3.aste._logger |
|
296 ats3.dropgenerator._logger |
|
297 ats3.parsers._logger |
|
298 ats3.testconfigurator._logger |
|
299 build.io._logger |
|
300 build.model._logger |
|
301 ccm._logger |
|
302 ccm.extra._logger |
|
303 comments._logger |
|
304 configuration._logger |
|
305 configuration_model._logger |
|
306 delta_zip._logger |
|
307 integration.quality._logger |
|
308 nokia.gscm._logger |
|
309 nokia.nokiaccm._logger |
|
310 pathaddition.match._logger |
|
311 preparation._logger |
|
312 symbian.log._logger |
|
313 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-28', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-string">"Missing tsrc directory: %s"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">)</tt> </tt> |
|
314 <a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
315 <a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">custom_dir</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-string">"custom"</tt><tt class="py-op">)</tt> </tt> |
|
316 <a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> <tt id="link-29" class="py-name"><a title="archive.builders._logger |
|
317 archive.mappers._logger |
|
318 archive.tools._logger |
|
319 ats3._logger |
|
320 ats3.aste._logger |
|
321 ats3.dropgenerator._logger |
|
322 ats3.parsers._logger |
|
323 ats3.testconfigurator._logger |
|
324 build.io._logger |
|
325 build.model._logger |
|
326 ccm._logger |
|
327 ccm.extra._logger |
|
328 comments._logger |
|
329 configuration._logger |
|
330 configuration_model._logger |
|
331 delta_zip._logger |
|
332 integration.quality._logger |
|
333 nokia.gscm._logger |
|
334 nokia.nokiaccm._logger |
|
335 pathaddition.match._logger |
|
336 preparation._logger |
|
337 symbian.log._logger |
|
338 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-29', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"using customized testing from %s"</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">custom_dir</tt><tt class="py-op">)</tt> </tt> |
|
339 <a name="L106"></a><tt class="py-lineno">106</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="buildtools.Command.path |
|
340 sysdef.api.SpecialInstruction.path |
|
341 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-30', 'path', 'link-0');">path</a></tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="ccm.CCMObject.exists" class="py-name" href="#" onclick="return doclink('link-31', 'exists', 'link-27');">exists</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_bld_dir()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_bld_dir"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_bld_dir" class="py-name" href="#" onclick="return doclink('link-32', 'tsrc_bld_dir', 'link-32');">tsrc_bld_dir</a></tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-string">"group"</tt><tt class="py-op">,</tt><tt class="py-string">"bld.inf"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
342 <a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-name">mmp_files</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">bld_parser</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name" targets="Method ats3.parsers.BldFileParser.get_test_mmp_files()=ats3.parsers.BldFileParser-class.html#get_test_mmp_files"><a title="ats3.parsers.BldFileParser.get_test_mmp_files" class="py-name" href="#" onclick="return doclink('link-33', 'get_test_mmp_files', 'link-33');">get_test_mmp_files</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_bld_dir" class="py-name" href="#" onclick="return doclink('link-34', 'tsrc_bld_dir', 'link-32');">tsrc_bld_dir</a></tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-string">"group"</tt><tt class="py-op">,</tt><tt class="py-string">"bld.inf"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
343 <a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
344 <a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"> <tt class="py-name">mmp_files</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">bld_parser</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="ats3.parsers.BldFileParser.get_test_mmp_files" class="py-name" href="#" onclick="return doclink('link-35', 'get_test_mmp_files', 'link-33');">get_test_mmp_files</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_bld_dir" class="py-name" href="#" onclick="return doclink('link-36', 'tsrc_bld_dir', 'link-32');">tsrc_bld_dir</a></tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-string">"bld.inf"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
345 <a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"> </tt> |
|
346 <a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">mmp</tt> <tt class="py-keyword">in</tt> <tt class="py-name">mmp_files</tt><tt class="py-op">:</tt> </tt> |
|
347 <a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"> <tt class="py-name">test_harness</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">mmp_parser</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name" targets="Method ats3.parsers.MmpFileParser.get_harness()=ats3.parsers.MmpFileParser-class.html#get_harness"><a title="ats3.parsers.MmpFileParser.get_harness" class="py-name" href="#" onclick="return doclink('link-37', 'get_harness', 'link-37');">get_harness</a></tt><tt class="py-op">(</tt><tt class="py-name">mmp</tt><tt class="py-op">)</tt> </tt> |
|
348 <a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> </tt> |
|
349 <a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> <tt class="py-name">pkg_paths</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pkg_parser</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name" targets="Method ats3.parsers.PkgFileParser.get_data_files()=ats3.parsers.PkgFileParser-class.html#get_data_files"><a title="ats3.parsers.PkgFileParser.get_data_files" class="py-name" href="#" onclick="return doclink('link-38', 'get_data_files', 'link-38');">get_data_files</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_pkg_files()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_pkg_files"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_pkg_files" class="py-name" href="#" onclick="return doclink('link-39', 'tsrc_pkg_files', 'link-39');">tsrc_pkg_files</a></tt><tt class="py-op">(</tt><tt class="py-name">_paths_dict_</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">build_drive</tt><tt class="py-op">)</tt> </tt> |
|
350 <a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">trace_enabled</tt> <tt class="py-op">==</tt> <tt class="py-string">"True"</tt><tt class="py-op">:</tt> </tt> |
|
351 <a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> |
|
352 <a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-name">pmd_files</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_pmd_files()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_pmd_files"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_pmd_files" class="py-name" href="#" onclick="return doclink('link-40', 'tsrc_pmd_files', 'link-40');">tsrc_pmd_files</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
353 <a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">:</tt> </tt> |
|
354 <a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> <tt id="link-41" class="py-name"><a title="archive.builders._logger |
|
355 archive.mappers._logger |
|
356 archive.tools._logger |
|
357 ats3._logger |
|
358 ats3.aste._logger |
|
359 ats3.dropgenerator._logger |
|
360 ats3.parsers._logger |
|
361 ats3.testconfigurator._logger |
|
362 build.io._logger |
|
363 build.model._logger |
|
364 ccm._logger |
|
365 ccm.extra._logger |
|
366 comments._logger |
|
367 configuration._logger |
|
368 configuration_model._logger |
|
369 delta_zip._logger |
|
370 integration.quality._logger |
|
371 nokia.gscm._logger |
|
372 nokia.nokiaccm._logger |
|
373 pathaddition.match._logger |
|
374 preparation._logger |
|
375 symbian.log._logger |
|
376 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-41', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"No pmd file in output-folder."</tt><tt class="py-op">)</tt> </tt> |
|
377 <a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> |
|
378 <a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> <tt class="py-name">trace_activation_files</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_trace_activation_files()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_trace_activation_files"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_trace_activation_files" class="py-name" href="#" onclick="return doclink('link-42', 'tsrc_trace_activation_files', 'link-42');">tsrc_trace_activation_files</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
379 <a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">:</tt> </tt> |
|
380 <a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"> <tt id="link-43" class="py-name"><a title="archive.builders._logger |
|
381 archive.mappers._logger |
|
382 archive.tools._logger |
|
383 ats3._logger |
|
384 ats3.aste._logger |
|
385 ats3.dropgenerator._logger |
|
386 ats3.parsers._logger |
|
387 ats3.testconfigurator._logger |
|
388 build.io._logger |
|
389 build.model._logger |
|
390 ccm._logger |
|
391 ccm.extra._logger |
|
392 comments._logger |
|
393 configuration._logger |
|
394 configuration_model._logger |
|
395 delta_zip._logger |
|
396 integration.quality._logger |
|
397 nokia.gscm._logger |
|
398 nokia.nokiaccm._logger |
|
399 pathaddition.match._logger |
|
400 preparation._logger |
|
401 symbian.log._logger |
|
402 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-43', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"No trace activation files in trace init folder"</tt><tt class="py-op">)</tt> </tt> |
|
403 <a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">trace_activation_files</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt class="py-name">pmd_files</tt><tt class="py-op">:</tt> </tt> |
|
404 <a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"> <tt id="link-44" class="py-name"><a title="archive.builders._logger |
|
405 archive.mappers._logger |
|
406 archive.tools._logger |
|
407 ats3._logger |
|
408 ats3.aste._logger |
|
409 ats3.dropgenerator._logger |
|
410 ats3.parsers._logger |
|
411 ats3.testconfigurator._logger |
|
412 build.io._logger |
|
413 build.model._logger |
|
414 ccm._logger |
|
415 ccm.extra._logger |
|
416 comments._logger |
|
417 configuration._logger |
|
418 configuration_model._logger |
|
419 delta_zip._logger |
|
420 integration.quality._logger |
|
421 nokia.gscm._logger |
|
422 nokia.nokiaccm._logger |
|
423 pathaddition.match._logger |
|
424 preparation._logger |
|
425 symbian.log._logger |
|
426 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-44', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"Trace activation files available but NOT pmd file."</tt><tt class="py-op">)</tt> </tt> |
|
427 <a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">pmd_files</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt class="py-name">trace_activation_files</tt><tt class="py-op">:</tt> </tt> |
|
428 <a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> <tt id="link-45" class="py-name"><a title="archive.builders._logger |
|
429 archive.mappers._logger |
|
430 archive.tools._logger |
|
431 ats3._logger |
|
432 ats3.aste._logger |
|
433 ats3.dropgenerator._logger |
|
434 ats3.parsers._logger |
|
435 ats3.testconfigurator._logger |
|
436 build.io._logger |
|
437 build.model._logger |
|
438 ccm._logger |
|
439 ccm.extra._logger |
|
440 comments._logger |
|
441 configuration._logger |
|
442 configuration_model._logger |
|
443 delta_zip._logger |
|
444 integration.quality._logger |
|
445 nokia.gscm._logger |
|
446 nokia.nokiaccm._logger |
|
447 pathaddition.match._logger |
|
448 preparation._logger |
|
449 symbian.log._logger |
|
450 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-45', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"Pmd file available but NO trace activation files."</tt><tt class="py-op">)</tt> </tt> |
|
451 <a name="L128"></a><tt class="py-lineno">128</tt> <tt class="py-line"> </tt> |
|
452 <a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">test_harness</tt> <tt class="py-op">==</tt> <tt class="py-string">"STIF"</tt><tt class="py-op">:</tt> </tt> |
|
453 <a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.insert_testset_stif()=ats3.testconfigurator.Ats3ComponentParser-class.html#insert_testset_stif"><a title="ats3.testconfigurator.Ats3ComponentParser.insert_testset_stif" class="py-name" href="#" onclick="return doclink('link-46', 'insert_testset_stif', 'link-46');">insert_testset_stif</a></tt><tt class="py-op">(</tt><tt class="py-name">src_dst</tt><tt class="py-op">,</tt> <tt class="py-name">pkg_paths</tt><tt class="py-op">)</tt> </tt> |
|
454 <a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"> </tt> |
|
455 <a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">test_harness</tt> <tt class="py-op">==</tt> <tt class="py-string">"STIFUNIT"</tt><tt class="py-op">:</tt> </tt> |
|
456 <a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.insert_testset_stif" class="py-name" href="#" onclick="return doclink('link-47', 'insert_testset_stif', 'link-46');">insert_testset_stif</a></tt><tt class="py-op">(</tt><tt class="py-name">src_dst</tt><tt class="py-op">,</tt> <tt class="py-name">pkg_paths</tt><tt class="py-op">)</tt> </tt> |
|
457 <a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"> </tt> |
|
458 <a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">test_harness</tt> <tt class="py-op">==</tt> <tt class="py-string">"EUNIT"</tt><tt class="py-op">:</tt> </tt> |
|
459 <a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> |
|
460 <a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pkg_parser</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="ats3.parsers.PkgFileParser.get_data_files" class="py-name" href="#" onclick="return doclink('link-48', 'get_data_files', 'link-38');">get_data_files</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_pkg_files" class="py-name" href="#" onclick="return doclink('link-49', 'tsrc_pkg_files', 'link-39');">tsrc_pkg_files</a></tt><tt class="py-op">(</tt><tt class="py-name">_paths_dict_</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">build_drive</tt><tt class="py-op">)</tt> </tt> |
|
461 <a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> </tt> |
|
462 <a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">:</tt> </tt> |
|
463 <a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> <tt id="link-50" class="py-name"><a title="archive.builders._logger |
|
464 archive.mappers._logger |
|
465 archive.tools._logger |
|
466 ats3._logger |
|
467 ats3.aste._logger |
|
468 ats3.dropgenerator._logger |
|
469 ats3.parsers._logger |
|
470 ats3.testconfigurator._logger |
|
471 build.io._logger |
|
472 build.model._logger |
|
473 ccm._logger |
|
474 ccm.extra._logger |
|
475 comments._logger |
|
476 configuration._logger |
|
477 configuration_model._logger |
|
478 delta_zip._logger |
|
479 integration.quality._logger |
|
480 nokia.gscm._logger |
|
481 nokia.nokiaccm._logger |
|
482 pathaddition.match._logger |
|
483 preparation._logger |
|
484 symbian.log._logger |
|
485 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-50', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"No pkg file in tsrc/group directory ( %s )"</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-51" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_pkg_dir" class="py-name" href="#" onclick="return doclink('link-51', 'tsrc_pkg_dir', 'link-21');">tsrc_pkg_dir</a></tt><tt class="py-op">)</tt> </tt> |
|
486 <a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
487 <a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">IndexError</tt><tt class="py-op">:</tt> </tt> |
|
488 <a name="L143"></a><tt class="py-lineno">143</tt> <tt class="py-line"> <tt id="link-52" class="py-name"><a title="archive.builders._logger |
|
489 archive.mappers._logger |
|
490 archive.tools._logger |
|
491 ats3._logger |
|
492 ats3.aste._logger |
|
493 ats3.dropgenerator._logger |
|
494 ats3.parsers._logger |
|
495 ats3.testconfigurator._logger |
|
496 build.io._logger |
|
497 build.model._logger |
|
498 ccm._logger |
|
499 ccm.extra._logger |
|
500 comments._logger |
|
501 configuration._logger |
|
502 configuration_model._logger |
|
503 delta_zip._logger |
|
504 integration.quality._logger |
|
505 nokia.gscm._logger |
|
506 nokia.nokiaccm._logger |
|
507 pathaddition.match._logger |
|
508 preparation._logger |
|
509 symbian.log._logger |
|
510 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-52', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"No pkg file in tsrc/group directory ( %s )"</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-53" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_pkg_dir" class="py-name" href="#" onclick="return doclink('link-53', 'tsrc_pkg_dir', 'link-21');">tsrc_pkg_dir</a></tt><tt class="py-op">)</tt> </tt> |
|
511 <a name="L144"></a><tt class="py-lineno">144</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
512 <a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> |
|
513 <a name="L146"></a><tt class="py-lineno">146</tt> <tt class="py-line"> <tt class="py-name">testmodule_files</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_dll_files()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_dll_files"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_dll_files" class="py-name" href="#" onclick="return doclink('link-54', 'tsrc_dll_files', 'link-54');">tsrc_dll_files</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
514 <a name="L147"></a><tt class="py-lineno">147</tt> <tt class="py-line"> </tt> |
|
515 <a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">dll_file</tt> <tt class="py-keyword">in</tt> <tt class="py-name">testmodule_files</tt><tt class="py-op">:</tt> </tt> |
|
516 <a name="L149"></a><tt class="py-lineno">149</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-55" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.check_dll_duplication()=ats3.testconfigurator.Ats3ComponentParser-class.html#check_dll_duplication"><a title="ats3.testconfigurator.Ats3ComponentParser.check_dll_duplication" class="py-name" href="#" onclick="return doclink('link-55', 'check_dll_duplication', 'link-55');">check_dll_duplication</a></tt><tt class="py-op">(</tt><tt class="py-name">dll_file</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="buildtools.Command.name |
|
517 ccm.FourPartName.name |
|
518 symrec.ServicePack.name |
|
519 sysdef.api.Configuration.name |
|
520 sysdef.api.Option.name |
|
521 sysdef.api.SpecialInstruction.name |
|
522 sysdef.api.Target.name |
|
523 sysdef.api.TargetList.name |
|
524 sysdef.api.Unit.name |
|
525 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-56', 'name', 'link-12');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">src_dst</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
526 <a name="L150"></a><tt class="py-lineno">150</tt> <tt class="py-line"> <tt class="py-name">_dll_type_</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">mmp_parser</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name" targets="Method ats3.parsers.MmpFileParser.get_dll_type()=ats3.parsers.MmpFileParser-class.html#get_dll_type"><a title="ats3.parsers.MmpFileParser.get_dll_type" class="py-name" href="#" onclick="return doclink('link-57', 'get_dll_type', 'link-57');">get_dll_type</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_bld_dir" class="py-name" href="#" onclick="return doclink('link-58', 'tsrc_bld_dir', 'link-32');">tsrc_bld_dir</a></tt><tt class="py-op">)</tt> </tt> |
|
527 <a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"> </tt> |
|
528 <a name="L152"></a><tt class="py-lineno">152</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">dll_file</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name"><a title="buildtools.Command.name |
|
529 ccm.FourPartName.name |
|
530 symrec.ServicePack.name |
|
531 sysdef.api.Configuration.name |
|
532 sysdef.api.Option.name |
|
533 sysdef.api.SpecialInstruction.name |
|
534 sysdef.api.Target.name |
|
535 sysdef.api.TargetList.name |
|
536 sysdef.api.Unit.name |
|
537 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-59', 'name', 'link-12');">name</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">excludable_dlls</tt><tt class="py-op">:</tt> </tt> |
|
538 <a name="L153"></a><tt class="py-lineno">153</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="ccm.Folder.append |
|
539 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-60', 'append', 'link-10');">append</a></tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">dll_file</tt><tt class="py-op">,</tt> <tt id="link-61" class="py-name"><a title="buildtools.Command.path |
|
540 sysdef.api.SpecialInstruction.path |
|
541 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-61', 'path', 'link-0');">path</a></tt><tt class="py-op">(</tt><tt class="py-string">r"c:\sys\bin"</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-name">dll_file</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name"><a title="buildtools.Command.name |
|
542 ccm.FourPartName.name |
|
543 symrec.ServicePack.name |
|
544 sysdef.api.Configuration.name |
|
545 sysdef.api.Option.name |
|
546 sysdef.api.SpecialInstruction.name |
|
547 sysdef.api.Target.name |
|
548 sysdef.api.TargetList.name |
|
549 sysdef.api.Unit.name |
|
550 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-62', 'name', 'link-12');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">"data:%s"</tt> <tt class="py-op">%</tt> <tt class="py-name">_dll_type_</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
551 <a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
552 <a name="L155"></a><tt class="py-lineno">155</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name"><a title="ccm.Folder.append |
|
553 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-63', 'append', 'link-10');">append</a></tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">dll_file</tt><tt class="py-op">,</tt> <tt id="link-64" class="py-name"><a title="buildtools.Command.path |
|
554 sysdef.api.SpecialInstruction.path |
|
555 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-64', 'path', 'link-0');">path</a></tt><tt class="py-op">(</tt><tt class="py-string">r"c:\sys\bin"</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-name">dll_file</tt><tt class="py-op">.</tt><tt id="link-65" class="py-name"><a title="buildtools.Command.name |
|
556 ccm.FourPartName.name |
|
557 symrec.ServicePack.name |
|
558 sysdef.api.Configuration.name |
|
559 sysdef.api.Option.name |
|
560 sysdef.api.SpecialInstruction.name |
|
561 sysdef.api.Target.name |
|
562 sysdef.api.TargetList.name |
|
563 sysdef.api.Unit.name |
|
564 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-65', 'name', 'link-12');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">"testmodule"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
565 <a name="L156"></a><tt class="py-lineno">156</tt> <tt class="py-line"> </tt> |
|
566 <a name="L157"></a><tt class="py-lineno">157</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">:</tt> </tt> |
|
567 <a name="L158"></a><tt class="py-lineno">158</tt> <tt class="py-line"> <tt id="link-66" class="py-name"><a title="archive.builders._logger |
|
568 archive.mappers._logger |
|
569 archive.tools._logger |
|
570 ats3._logger |
|
571 ats3.aste._logger |
|
572 ats3.dropgenerator._logger |
|
573 ats3.parsers._logger |
|
574 ats3.testconfigurator._logger |
|
575 build.io._logger |
|
576 build.model._logger |
|
577 ccm._logger |
|
578 ccm.extra._logger |
|
579 comments._logger |
|
580 configuration._logger |
|
581 configuration_model._logger |
|
582 delta_zip._logger |
|
583 integration.quality._logger |
|
584 nokia.gscm._logger |
|
585 nokia.nokiaccm._logger |
|
586 pathaddition.match._logger |
|
587 preparation._logger |
|
588 symbian.log._logger |
|
589 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-66', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"No dll files in dll folders"</tt> <tt class="py-op">)</tt> </tt> |
|
590 <a name="L159"></a><tt class="py-lineno">159</tt> <tt class="py-line"> <tt class="py-name">tsrc_testdata_files</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> |
|
591 <a name="L160"></a><tt class="py-lineno">160</tt> <tt class="py-line"> <tt class="py-name">temp_list</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
592 <a name="L161"></a><tt class="py-lineno">161</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">trace_enabled</tt> <tt class="py-op">==</tt> <tt class="py-string">"True"</tt><tt class="py-op">:</tt> </tt> |
|
593 <a name="L162"></a><tt class="py-lineno">162</tt> <tt class="py-line"> <tt class="py-name">test_plan</tt><tt class="py-op">.</tt><tt id="link-67" class="py-name" targets="Method ats3.Ats3TestPlan.insert_set()=ats3.Ats3TestPlan-class.html#insert_set,Method ats3.aste.AsteTestPlan.insert_set()=ats3.aste.AsteTestPlan-class.html#insert_set"><a title="ats3.Ats3TestPlan.insert_set |
|
594 ats3.aste.AsteTestPlan.insert_set" class="py-name" href="#" onclick="return doclink('link-67', 'insert_set', 'link-67');">insert_set</a></tt><tt class="py-op">(</tt><tt class="py-name">data_files</tt><tt class="py-op">=</tt><tt class="py-name">tsrc_testdata_files</tt><tt class="py-op">,</tt> </tt> |
|
595 <a name="L163"></a><tt class="py-lineno">163</tt> <tt class="py-line"> <tt class="py-name">config_files</tt><tt class="py-op">=</tt><tt id="link-68" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_config_files" class="py-name" href="#" onclick="return doclink('link-68', 'tsrc_config_files', 'link-25');">tsrc_config_files</a></tt><tt class="py-op">,</tt> </tt> |
|
596 <a name="L164"></a><tt class="py-lineno">164</tt> <tt class="py-line"> <tt class="py-name">engine_ini_file</tt><tt class="py-op">=</tt><tt class="py-name">engine_ini_file</tt><tt class="py-op">,</tt> </tt> |
|
597 <a name="L165"></a><tt class="py-lineno">165</tt> <tt class="py-line"> <tt class="py-name">image_files</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">flash_images</tt><tt class="py-op">,</tt> </tt> |
|
598 <a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"> <tt class="py-name">sis_files</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">sis_files</tt><tt class="py-op">,</tt> </tt> |
|
599 <a name="L167"></a><tt class="py-lineno">167</tt> <tt class="py-line"> <tt class="py-comment">#testmodule_files=self.tsrc_dll_files(),</tt> </tt> |
|
600 <a name="L168"></a><tt class="py-lineno">168</tt> <tt class="py-line"> <tt class="py-name">test_timeout</tt><tt class="py-op">=</tt><tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">test_timeout</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt> |
|
601 <a name="L169"></a><tt class="py-lineno">169</tt> <tt class="py-line"> <tt class="py-name">test_harness</tt><tt class="py-op">=</tt><tt class="py-name">test_harness</tt><tt class="py-op">,</tt> </tt> |
|
602 <a name="L170"></a><tt class="py-lineno">170</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt><tt class="py-op">=</tt><tt class="py-name">src_dst</tt><tt class="py-op">,</tt> </tt> |
|
603 <a name="L171"></a><tt class="py-lineno">171</tt> <tt class="py-line"> <tt class="py-name">pmd_files</tt><tt class="py-op">=</tt><tt class="py-name">pmd_files</tt><tt class="py-op">,</tt> </tt> |
|
604 <a name="L172"></a><tt class="py-lineno">172</tt> <tt class="py-line"> <tt class="py-name">trace_activation_files</tt><tt class="py-op">=</tt><tt class="py-name">trace_activation_files</tt><tt class="py-op">,</tt> </tt> |
|
605 <a name="L173"></a><tt class="py-lineno">173</tt> <tt class="py-line"> <tt class="py-name">custom_dir</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">custom_dir</tt><tt class="py-op">,</tt> </tt> |
|
606 <a name="L174"></a><tt class="py-lineno">174</tt> <tt class="py-line"> <tt class="py-name">component_path</tt><tt class="py-op">=</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">)</tt> </tt> |
|
607 <a name="L175"></a><tt class="py-lineno">175</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
608 <a name="L176"></a><tt class="py-lineno">176</tt> <tt class="py-line"> <tt class="py-name">test_plan</tt><tt class="py-op">.</tt><tt id="link-69" class="py-name"><a title="ats3.Ats3TestPlan.insert_set |
|
609 ats3.aste.AsteTestPlan.insert_set" class="py-name" href="#" onclick="return doclink('link-69', 'insert_set', 'link-67');">insert_set</a></tt><tt class="py-op">(</tt><tt class="py-name">image_files</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">flash_images</tt><tt class="py-op">,</tt> </tt> |
|
610 <a name="L177"></a><tt class="py-lineno">177</tt> <tt class="py-line"> <tt class="py-name">sis_files</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">sis_files</tt><tt class="py-op">,</tt> </tt> |
|
611 <a name="L178"></a><tt class="py-lineno">178</tt> <tt class="py-line"> <tt class="py-name">test_timeout</tt><tt class="py-op">=</tt><tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">test_timeout</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt> |
|
612 <a name="L179"></a><tt class="py-lineno">179</tt> <tt class="py-line"> <tt class="py-name">test_harness</tt><tt class="py-op">=</tt><tt class="py-name">test_harness</tt><tt class="py-op">,</tt> </tt> |
|
613 <a name="L180"></a><tt class="py-lineno">180</tt> <tt class="py-line"> <tt class="py-name">src_dst</tt><tt class="py-op">=</tt><tt class="py-name">src_dst</tt><tt class="py-op">,</tt> </tt> |
|
614 <a name="L181"></a><tt class="py-lineno">181</tt> <tt class="py-line"> <tt class="py-name">custom_dir</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">custom_dir</tt><tt class="py-op">,</tt> </tt> |
|
615 <a name="L182"></a><tt class="py-lineno">182</tt> <tt class="py-line"> <tt class="py-name">component_path</tt><tt class="py-op">=</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">)</tt> </tt> |
|
616 </div><a name="L183"></a><tt class="py-lineno">183</tt> <tt class="py-line"> </tt> |
|
617 <a name="Ats3ComponentParser.check_dll_duplication"></a><div id="Ats3ComponentParser.check_dll_duplication-def"><a name="L184"></a><tt class="py-lineno">184</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.check_dll_duplication-toggle" onclick="return toggle('Ats3ComponentParser.check_dll_duplication');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#check_dll_duplication">check_dll_duplication</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">_dll_file_</tt><tt class="py-op">,</tt> <tt class="py-param">_src_dst_</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
618 </div><div id="Ats3ComponentParser.check_dll_duplication-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.check_dll_duplication-expanded"><a name="L185"></a><tt class="py-lineno">185</tt> <tt class="py-line"> <tt class="py-docstring">"""Checks if the dll is already in the dictionary, created by pkg file"""</tt> </tt> |
|
619 <a name="L186"></a><tt class="py-lineno">186</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">item</tt> <tt class="py-keyword">in</tt> <tt class="py-name">_src_dst_</tt><tt class="py-op">:</tt> </tt> |
|
620 <a name="L187"></a><tt class="py-lineno">187</tt> <tt class="py-line"> <tt class="py-name">first</tt><tt class="py-op">,</tt> <tt class="py-name">second</tt><tt class="py-op">,</tt> <tt class="py-name">_</tt> <tt class="py-op">=</tt> <tt class="py-name">item</tt> </tt> |
|
621 <a name="L188"></a><tt class="py-lineno">188</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">_dll_file_</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">first</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
622 </div><a name="L189"></a><tt class="py-lineno">189</tt> <tt class="py-line"> </tt> |
|
623 <a name="L190"></a><tt class="py-lineno">190</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt> |
|
624 <a name="Ats3ComponentParser.tsrc_bld_dir"></a><div id="Ats3ComponentParser.tsrc_bld_dir-def"><a name="L191"></a><tt class="py-lineno">191</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_bld_dir-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_bld_dir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_bld_dir">tsrc_bld_dir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
625 </div><div id="Ats3ComponentParser.tsrc_bld_dir-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_bld_dir-expanded"><a name="L192"></a><tt class="py-lineno">192</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's build directory."""</tt> </tt> |
|
626 <a name="L193"></a><tt class="py-lineno">193</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt> </tt> |
|
627 </div><a name="L194"></a><tt class="py-lineno">194</tt> <tt class="py-line"> </tt> |
|
628 <a name="L195"></a><tt class="py-lineno">195</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt> |
|
629 <a name="Ats3ComponentParser.tsrc_conf_dir"></a><div id="Ats3ComponentParser.tsrc_conf_dir-def"><a name="L196"></a><tt class="py-lineno">196</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_conf_dir-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_conf_dir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_conf_dir">tsrc_conf_dir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
630 </div><div id="Ats3ComponentParser.tsrc_conf_dir-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_conf_dir-expanded"><a name="L197"></a><tt class="py-lineno">197</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's configuration file directory."""</tt> </tt> |
|
631 <a name="L198"></a><tt class="py-lineno">198</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-string">"conf"</tt><tt class="py-op">)</tt> </tt> |
|
632 </div><a name="L199"></a><tt class="py-lineno">199</tt> <tt class="py-line"> </tt> |
|
633 <a name="L200"></a><tt class="py-lineno">200</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt> |
|
634 <a name="Ats3ComponentParser.tsrc_custom_dir"></a><div id="Ats3ComponentParser.tsrc_custom_dir-def"><a name="L201"></a><tt class="py-lineno">201</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_custom_dir-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_custom_dir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_custom_dir">tsrc_custom_dir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
635 </div><div id="Ats3ComponentParser.tsrc_custom_dir-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_custom_dir-expanded"><a name="L202"></a><tt class="py-lineno">202</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's test customization directory."""</tt> </tt> |
|
636 <a name="L203"></a><tt class="py-lineno">203</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-string">"custom"</tt><tt class="py-op">)</tt> </tt> |
|
637 </div><a name="L204"></a><tt class="py-lineno">204</tt> <tt class="py-line"> </tt> |
|
638 <a name="L205"></a><tt class="py-lineno">205</tt> <tt class="py-line"> </tt> |
|
639 <a name="L206"></a><tt class="py-lineno">206</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt> |
|
640 <a name="Ats3ComponentParser.tsrc_data_dirs"></a><div id="Ats3ComponentParser.tsrc_data_dirs-def"><a name="L207"></a><tt class="py-lineno">207</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_data_dirs-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_data_dirs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_data_dirs">tsrc_data_dirs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
641 </div><div id="Ats3ComponentParser.tsrc_data_dirs-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_data_dirs-expanded"><a name="L208"></a><tt class="py-lineno">208</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's data directories."""</tt> </tt> |
|
642 <a name="L209"></a><tt class="py-lineno">209</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-name">d</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">d</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">data_dirs</tt><tt class="py-op">]</tt> </tt> |
|
643 </div><a name="L210"></a><tt class="py-lineno">210</tt> <tt class="py-line"> </tt> |
|
644 <a name="L211"></a><tt class="py-lineno">211</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt> |
|
645 <a name="Ats3ComponentParser.tsrc_init_dir"></a><div id="Ats3ComponentParser.tsrc_init_dir-def"><a name="L212"></a><tt class="py-lineno">212</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_init_dir-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_init_dir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_init_dir">tsrc_init_dir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
646 </div><div id="Ats3ComponentParser.tsrc_init_dir-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_init_dir-expanded"><a name="L213"></a><tt class="py-lineno">213</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's initialization file directory."""</tt> </tt> |
|
647 <a name="L214"></a><tt class="py-lineno">214</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-string">"init"</tt><tt class="py-op">)</tt> </tt> |
|
648 </div><a name="L215"></a><tt class="py-lineno">215</tt> <tt class="py-line"> </tt> |
|
649 <a name="L216"></a><tt class="py-lineno">216</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt> |
|
650 <a name="Ats3ComponentParser.tsrc_pkg_dir"></a><div id="Ats3ComponentParser.tsrc_pkg_dir-def"><a name="L217"></a><tt class="py-lineno">217</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_pkg_dir-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_pkg_dir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_pkg_dir">tsrc_pkg_dir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
651 </div><div id="Ats3ComponentParser.tsrc_pkg_dir-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_pkg_dir-expanded"><a name="L218"></a><tt class="py-lineno">218</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's .pkg -file directory"""</tt> </tt> |
|
652 <a name="L219"></a><tt class="py-lineno">219</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt> </tt> |
|
653 </div><a name="L220"></a><tt class="py-lineno">220</tt> <tt class="py-line"> </tt> |
|
654 <a name="L221"></a><tt class="py-lineno">221</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt> |
|
655 <a name="Ats3ComponentParser.tsrc_trace_activation_dir"></a><div id="Ats3ComponentParser.tsrc_trace_activation_dir-def"><a name="L222"></a><tt class="py-lineno">222</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_trace_activation_dir-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_trace_activation_dir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_trace_activation_dir">tsrc_trace_activation_dir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
656 </div><div id="Ats3ComponentParser.tsrc_trace_activation_dir-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_trace_activation_dir-expanded"><a name="L223"></a><tt class="py-lineno">223</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's trace activation file directory"""</tt> </tt> |
|
657 <a name="L224"></a><tt class="py-lineno">224</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tsrc_dir</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-string">"trace_init"</tt><tt class="py-op">)</tt> </tt> |
|
658 </div><a name="L225"></a><tt class="py-lineno">225</tt> <tt class="py-line"> </tt> |
|
659 <a name="L226"></a><tt class="py-lineno">226</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt> |
|
660 <a name="Ats3ComponentParser.tsrc_pmd_dir"></a><div id="Ats3ComponentParser.tsrc_pmd_dir-def"><a name="L227"></a><tt class="py-lineno">227</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_pmd_dir-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_pmd_dir');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_pmd_dir">tsrc_pmd_dir</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
661 </div><div id="Ats3ComponentParser.tsrc_pmd_dir-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_pmd_dir-expanded"><a name="L228"></a><tt class="py-lineno">228</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's pmd file directory"""</tt> </tt> |
|
662 <a name="L229"></a><tt class="py-lineno">229</tt> <tt class="py-line"> <tt class="py-name">pmd_dir</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">build_drive</tt> <tt class="py-op">+</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">sep</tt> </tt> |
|
663 <a name="L230"></a><tt class="py-lineno">230</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">pmd_dir</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-string">"output"</tt><tt class="py-op">,</tt> <tt class="py-string">"pmd"</tt><tt class="py-op">)</tt> </tt> |
|
664 </div><a name="L231"></a><tt class="py-lineno">231</tt> <tt class="py-line"> </tt> |
|
665 <a name="Ats3ComponentParser.tsrc_pmd_files"></a><div id="Ats3ComponentParser.tsrc_pmd_files-def"><a name="L232"></a><tt class="py-lineno">232</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_pmd_files-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_pmd_files');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_pmd_files">tsrc_pmd_files</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
666 </div><div id="Ats3ComponentParser.tsrc_pmd_files-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_pmd_files-expanded"><a name="L233"></a><tt class="py-lineno">233</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's trace pmd files from the {build_drive}\output directory"""</tt> </tt> |
|
667 <a name="L234"></a><tt class="py-lineno">234</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-70" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_pmd_dir()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_pmd_dir"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_pmd_dir" class="py-name" href="#" onclick="return doclink('link-70', 'tsrc_pmd_dir', 'link-70');">tsrc_pmd_dir</a></tt><tt class="py-op">.</tt><tt class="py-name">walkfiles</tt><tt class="py-op">(</tt><tt class="py-string">"*.pmd"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
668 </div><a name="L235"></a><tt class="py-lineno">235</tt> <tt class="py-line"> </tt> |
|
669 <a name="Ats3ComponentParser.tsrc_trace_activation_files"></a><div id="Ats3ComponentParser.tsrc_trace_activation_files-def"><a name="L236"></a><tt class="py-lineno">236</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_trace_activation_files-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_trace_activation_files');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_trace_activation_files">tsrc_trace_activation_files</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
670 </div><div id="Ats3ComponentParser.tsrc_trace_activation_files-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_trace_activation_files-expanded"><a name="L237"></a><tt class="py-lineno">237</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's trace activation files, from the rtace_init directory."""</tt> </tt> |
|
671 <a name="L238"></a><tt class="py-lineno">238</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-71" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_trace_activation_dir()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_trace_activation_dir"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_trace_activation_dir" class="py-name" href="#" onclick="return doclink('link-71', 'tsrc_trace_activation_dir', 'link-71');">tsrc_trace_activation_dir</a></tt><tt class="py-op">.</tt><tt class="py-name">walkfiles</tt><tt class="py-op">(</tt><tt class="py-string">"*.xml"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
672 </div><a name="L239"></a><tt class="py-lineno">239</tt> <tt class="py-line"> </tt> |
|
673 <a name="Ats3ComponentParser.tsrc_config_files"></a><div id="Ats3ComponentParser.tsrc_config_files-def"><a name="L240"></a><tt class="py-lineno">240</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_config_files-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_config_files');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_config_files">tsrc_config_files</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
674 </div><div id="Ats3ComponentParser.tsrc_config_files-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_config_files-expanded"><a name="L241"></a><tt class="py-lineno">241</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's configuration files, from the conf directory."""</tt> </tt> |
|
675 <a name="L242"></a><tt class="py-lineno">242</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-72" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_conf_dir()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_conf_dir"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_conf_dir" class="py-name" href="#" onclick="return doclink('link-72', 'tsrc_conf_dir', 'link-72');">tsrc_conf_dir</a></tt><tt class="py-op">.</tt><tt class="py-name">walkfiles</tt><tt class="py-op">(</tt><tt class="py-string">"*.cfg"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
676 </div><a name="L243"></a><tt class="py-lineno">243</tt> <tt class="py-line"> </tt> |
|
677 <a name="Ats3ComponentParser.tsrc_ini_files"></a><div id="Ats3ComponentParser.tsrc_ini_files-def"><a name="L244"></a><tt class="py-lineno">244</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_ini_files-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_ini_files');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_ini_files">tsrc_ini_files</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
678 </div><div id="Ats3ComponentParser.tsrc_ini_files-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_ini_files-expanded"><a name="L245"></a><tt class="py-lineno">245</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's initialiation files, from the ini directory."""</tt> </tt> |
|
679 <a name="L246"></a><tt class="py-lineno">246</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-73" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_init_dir()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_init_dir"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_init_dir" class="py-name" href="#" onclick="return doclink('link-73', 'tsrc_init_dir', 'link-73');">tsrc_init_dir</a></tt><tt class="py-op">.</tt><tt class="py-name">walkfiles</tt><tt class="py-op">(</tt><tt class="py-string">"*.ini"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
680 </div><a name="L247"></a><tt class="py-lineno">247</tt> <tt class="py-line"> </tt> |
|
681 <a name="Ats3ComponentParser.tsrc_data_files"></a><div id="Ats3ComponentParser.tsrc_data_files-def"><a name="L248"></a><tt class="py-lineno">248</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_data_files-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_data_files');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_data_files">tsrc_data_files</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
682 </div><div id="Ats3ComponentParser.tsrc_data_files-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_data_files-expanded"><a name="L249"></a><tt class="py-lineno">249</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's data files, from data directories."""</tt> </tt> |
|
683 <a name="L250"></a><tt class="py-lineno">250</tt> <tt class="py-line"> <tt id="link-74" class="py-name" targets="Method symrec.ServicePack.files()=symrec.ServicePack-class.html#files"><a title="symrec.ServicePack.files" class="py-name" href="#" onclick="return doclink('link-74', 'files', 'link-74');">files</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
684 <a name="L251"></a><tt class="py-lineno">251</tt> <tt class="py-line"> <tt class="py-name">files2</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
685 <a name="L252"></a><tt class="py-lineno">252</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">data_dir</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-75" class="py-name" targets="Method ats3.testconfigurator.Ats3ComponentParser.tsrc_data_dirs()=ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_data_dirs"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_data_dirs" class="py-name" href="#" onclick="return doclink('link-75', 'tsrc_data_dirs', 'link-75');">tsrc_data_dirs</a></tt><tt class="py-op">:</tt> </tt> |
|
686 <a name="L253"></a><tt class="py-lineno">253</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">data_dir</tt><tt class="py-op">.</tt><tt id="link-76" class="py-name"><a title="ccm.CCMObject.exists" class="py-name" href="#" onclick="return doclink('link-76', 'exists', 'link-27');">exists</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
687 <a name="L254"></a><tt class="py-lineno">254</tt> <tt class="py-line"> <tt id="link-77" class="py-name"><a title="symrec.ServicePack.files" class="py-name" href="#" onclick="return doclink('link-77', 'files', 'link-74');">files</a></tt><tt class="py-op">.</tt><tt class="py-name">extend</tt><tt class="py-op">(</tt><tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-name">data_dir</tt><tt class="py-op">.</tt><tt class="py-name">walkfiles</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
688 <a name="L255"></a><tt class="py-lineno">255</tt> <tt class="py-line"> </tt> |
|
689 <a name="L256"></a><tt class="py-lineno">256</tt> <tt class="py-line"> <tt class="py-comment">#Remove dist policy files</tt> </tt> |
|
690 <a name="L257"></a><tt class="py-lineno">257</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">for</tt> <tt class="py-name">data_file</tt> <tt class="py-keyword">in</tt> <tt id="link-78" class="py-name"><a title="symrec.ServicePack.files" class="py-name" href="#" onclick="return doclink('link-78', 'files', 'link-74');">files</a></tt><tt class="py-op">:</tt> </tt> |
|
691 <a name="L258"></a><tt class="py-lineno">258</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">data_file</tt><tt class="py-op">.</tt><tt id="link-79" class="py-name"><a title="buildtools.Command.name |
|
692 ccm.FourPartName.name |
|
693 symrec.ServicePack.name |
|
694 sysdef.api.Configuration.name |
|
695 sysdef.api.Option.name |
|
696 sysdef.api.SpecialInstruction.name |
|
697 sysdef.api.Target.name |
|
698 sysdef.api.TargetList.name |
|
699 sysdef.api.Unit.name |
|
700 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-79', 'name', 'link-12');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">!=</tt> <tt class="py-string">"distribution.policy.s60"</tt><tt class="py-op">:</tt> </tt> |
|
701 <a name="L259"></a><tt class="py-lineno">259</tt> <tt class="py-line"> <tt class="py-name">files2</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name"><a title="ccm.Folder.append |
|
702 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-80', 'append', 'link-10');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">data_file</tt><tt class="py-op">)</tt> </tt> |
|
703 <a name="L260"></a><tt class="py-lineno">260</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">files2</tt> </tt> |
|
704 </div><a name="L261"></a><tt class="py-lineno">261</tt> <tt class="py-line"> </tt> |
|
705 <a name="Ats3ComponentParser.tsrc_dll_files"></a><div id="Ats3ComponentParser.tsrc_dll_files-def"><a name="L262"></a><tt class="py-lineno">262</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_dll_files-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_dll_files');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_dll_files">tsrc_dll_files</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
706 </div><div id="Ats3ComponentParser.tsrc_dll_files-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_dll_files-expanded"><a name="L263"></a><tt class="py-lineno">263</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's DLL files, reported by ABLD BUILD."""</tt> </tt> |
|
707 <a name="L264"></a><tt class="py-lineno">264</tt> <tt class="py-line"> </tt> |
|
708 <a name="L265"></a><tt class="py-lineno">265</tt> <tt class="py-line"> <tt class="py-name">dlls</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
709 <a name="L266"></a><tt class="py-lineno">266</tt> <tt class="py-line"> <tt class="py-name">orig_dir</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">getcwd</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
710 <a name="L267"></a><tt class="py-lineno">267</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> |
|
711 <a name="L268"></a><tt class="py-lineno">268</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">chdir</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-81" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_bld_dir" class="py-name" href="#" onclick="return doclink('link-81', 'tsrc_bld_dir', 'link-32');">tsrc_bld_dir</a></tt><tt class="py-op">)</tt> </tt> |
|
712 <a name="L269"></a><tt class="py-lineno">269</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">system</tt><tt class="py-op">(</tt><tt class="py-string">"bldmake bldfiles"</tt><tt class="py-op">)</tt> </tt> |
|
713 <a name="L270"></a><tt class="py-lineno">270</tt> <tt class="py-line"> <tt class="py-comment">#os.system("abld test build %s" % self.target_platform)</tt> </tt> |
|
714 <a name="L271"></a><tt class="py-lineno">271</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">process</tt> <tt class="py-op">=</tt> <tt class="py-name">subprocess</tt><tt class="py-op">.</tt><tt class="py-name">Popen</tt><tt class="py-op">(</tt><tt class="py-string">"abld -w test build %s"</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">target_platform</tt><tt class="py-op">,</tt> <tt class="py-name">shell</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-name">stdout</tt><tt class="py-op">=</tt><tt class="py-name">subprocess</tt><tt class="py-op">.</tt><tt class="py-name">PIPE</tt><tt class="py-op">)</tt> </tt> |
|
715 <a name="L272"></a><tt class="py-lineno">272</tt> <tt class="py-line"> <tt class="py-name">pipe</tt> <tt class="py-op">=</tt> <tt class="py-name">process</tt><tt class="py-op">.</tt><tt class="py-name">communicate</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> |
|
716 <a name="L273"></a><tt class="py-lineno">273</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">line</tt> <tt class="py-keyword">in</tt> <tt class="py-name">pipe</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'\n'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
717 <a name="L274"></a><tt class="py-lineno">274</tt> <tt class="py-line"> <tt id="link-82" class="py-name"><a title="archive.builders._logger |
|
718 archive.mappers._logger |
|
719 archive.tools._logger |
|
720 ats3._logger |
|
721 ats3.aste._logger |
|
722 ats3.dropgenerator._logger |
|
723 ats3.parsers._logger |
|
724 ats3.testconfigurator._logger |
|
725 build.io._logger |
|
726 build.model._logger |
|
727 ccm._logger |
|
728 ccm.extra._logger |
|
729 comments._logger |
|
730 configuration._logger |
|
731 configuration_model._logger |
|
732 delta_zip._logger |
|
733 integration.quality._logger |
|
734 nokia.gscm._logger |
|
735 nokia.nokiaccm._logger |
|
736 pathaddition.match._logger |
|
737 preparation._logger |
|
738 symbian.log._logger |
|
739 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-82', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
740 <a name="L275"></a><tt class="py-lineno">275</tt> <tt class="py-line"> <tt class="py-name">target</tt> <tt class="py-op">=</tt> <tt id="link-83" class="py-name"><a title="buildtools.Command.path |
|
741 sysdef.api.SpecialInstruction.path |
|
742 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-83', 'path', 'link-0');">path</a></tt><tt class="py-op">(</tt><tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
743 <a name="L276"></a><tt class="py-lineno">276</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">target</tt><tt class="py-op">.</tt><tt class="py-name">ext</tt> <tt class="py-op">==</tt> <tt class="py-string">".dll"</tt><tt class="py-op">:</tt> </tt> |
|
744 <a name="L277"></a><tt class="py-lineno">277</tt> <tt class="py-line"> </tt> |
|
745 <a name="L278"></a><tt class="py-lineno">278</tt> <tt class="py-line"> <tt class="py-name">build_target</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">build_drive</tt><tt class="py-op">.</tt><tt class="py-name">joinpath</tt><tt class="py-op">(</tt><tt class="py-name">target</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">normpath</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
746 <a name="L279"></a><tt class="py-lineno">279</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">build_target</tt><tt class="py-op">.</tt><tt id="link-84" class="py-name"><a title="ccm.CCMObject.exists" class="py-name" href="#" onclick="return doclink('link-84', 'exists', 'link-27');">exists</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
747 <a name="L280"></a><tt class="py-lineno">280</tt> <tt class="py-line"> <tt id="link-85" class="py-name"><a title="archive.builders._logger |
|
748 archive.mappers._logger |
|
749 archive.tools._logger |
|
750 ats3._logger |
|
751 ats3.aste._logger |
|
752 ats3.dropgenerator._logger |
|
753 ats3.parsers._logger |
|
754 ats3.testconfigurator._logger |
|
755 build.io._logger |
|
756 build.model._logger |
|
757 ccm._logger |
|
758 ccm.extra._logger |
|
759 comments._logger |
|
760 configuration._logger |
|
761 configuration_model._logger |
|
762 delta_zip._logger |
|
763 integration.quality._logger |
|
764 nokia.gscm._logger |
|
765 nokia.nokiaccm._logger |
|
766 pathaddition.match._logger |
|
767 preparation._logger |
|
768 symbian.log._logger |
|
769 sysdef.api._logger" class="py-name" href="#" onclick="return doclink('link-85', '_logger', 'link-4');">_logger</a></tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">(</tt><tt class="py-string">"not found: %s"</tt> <tt class="py-op">%</tt> <tt class="py-name">build_target</tt><tt class="py-op">)</tt> </tt> |
|
770 <a name="L281"></a><tt class="py-lineno">281</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
771 <a name="L282"></a><tt class="py-lineno">282</tt> <tt class="py-line"> <tt class="py-name">dlls</tt><tt class="py-op">.</tt><tt id="link-86" class="py-name"><a title="ccm.Folder.append |
|
772 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-86', 'append', 'link-10');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">build_target</tt><tt class="py-op">)</tt> </tt> |
|
773 <a name="L283"></a><tt class="py-lineno">283</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt> |
|
774 <a name="L284"></a><tt class="py-lineno">284</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">chdir</tt><tt class="py-op">(</tt><tt class="py-name">orig_dir</tt><tt class="py-op">)</tt> </tt> |
|
775 <a name="L285"></a><tt class="py-lineno">285</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">dlls</tt> </tt> |
|
776 </div><a name="L286"></a><tt class="py-lineno">286</tt> <tt class="py-line"> </tt> |
|
777 <a name="Ats3ComponentParser.tsrc_pkg_files"></a><div id="Ats3ComponentParser.tsrc_pkg_files-def"><a name="L287"></a><tt class="py-lineno">287</tt> <a class="py-toggle" href="#" id="Ats3ComponentParser.tsrc_pkg_files-toggle" onclick="return toggle('Ats3ComponentParser.tsrc_pkg_files');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="ats3.testconfigurator.Ats3ComponentParser-class.html#tsrc_pkg_files">tsrc_pkg_files</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">_dict_</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
778 </div><div id="Ats3ComponentParser.tsrc_pkg_files-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Ats3ComponentParser.tsrc_pkg_files-expanded"><a name="L288"></a><tt class="py-lineno">288</tt> <tt class="py-line"> <tt class="py-docstring">"""Component's package files, from the group directory"""</tt> </tt> |
|
779 <a name="L289"></a><tt class="py-lineno">289</tt> <tt class="py-line"> <tt class="py-name">pkg_dirs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
780 <a name="L290"></a><tt class="py-lineno">290</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">sub_component</tt> <tt class="py-keyword">in</tt> <tt class="py-name">_dict_</tt><tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-87" class="py-name"><a title="ats3.testconfigurator.Ats3ComponentParser.tsrc_pkg_dir" class="py-name" href="#" onclick="return doclink('link-87', 'tsrc_pkg_dir', 'link-21');">tsrc_pkg_dir</a></tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-string">'content'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name" targets="Method ccm.CCMObject.keys()=ccm.CCMObject-class.html#keys,Method configuration.Configuration.keys()=configuration.Configuration-class.html#keys,Method configuration.NestedConfiguration.keys()=configuration.NestedConfiguration-class.html#keys,Method symrec.ReleaseMetadata.keys()=symrec.ReleaseMetadata-class.html#keys"><a title="ccm.CCMObject.keys |
|
781 configuration.Configuration.keys |
|
782 configuration.NestedConfiguration.keys |
|
783 symrec.ReleaseMetadata.keys" class="py-name" href="#" onclick="return doclink('link-88', 'keys', 'link-88');">keys</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
784 <a name="L291"></a><tt class="py-lineno">291</tt> <tt class="py-line"> <tt class="py-name">pkg_dirs</tt><tt class="py-op">.</tt><tt id="link-89" class="py-name"><a title="ccm.Folder.append |
|
785 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-89', 'append', 'link-10');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">sub_component</tt><tt class="py-op">)</tt> </tt> |
|
786 <a name="L292"></a><tt class="py-lineno">292</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">pkg_dirs</tt> </tt> |
|
787 </div></div><a name="L293"></a><tt class="py-lineno">293</tt> <tt class="py-line"> </tt><script type="text/javascript"> |
|
788 <!-- |
|
789 expandto(location.href); |
|
790 // --> |
|
791 </script> |
|
792 </pre> |
|
793 <br /> |
|
794 <!-- ==================== NAVIGATION BAR ==================== --> |
|
795 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
796 bgcolor="#a0c0ff" cellspacing="0"> |
|
797 <tr valign="middle"> |
|
798 |
|
799 <!-- Tree link --> |
|
800 <th> <a |
|
801 href="module-tree.html">Trees</a> </th> |
|
802 |
|
803 <!-- Index link --> |
|
804 <th> <a |
|
805 href="identifier-index.html">Indices</a> </th> |
|
806 |
|
807 <!-- Help link --> |
|
808 <th> <a |
|
809 href="help.html">Help</a> </th> |
|
810 |
|
811 <th class="navbar" width="100%"></th> |
|
812 </tr> |
|
813 </table> |
|
814 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
815 <tr> |
|
816 <td align="left" class="footer"> |
|
817 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:22 2009 |
|
818 </td> |
|
819 <td align="right" class="footer"> |
|
820 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
821 </td> |
|
822 </tr> |
|
823 </table> |
|
824 |
|
825 <script type="text/javascript"> |
|
826 <!-- |
|
827 // Private objects are initially displayed (because if |
|
828 // javascript is turned off then we want them to be |
|
829 // visible); but by default, we want to hide them. So hide |
|
830 // them unless we have a cookie that says to show them. |
|
831 checkCookie() |
|
832 // --> |
|
833 </script> |
|
834 |
|
835 </body> |
|
836 </html> |