23 <!--* @package testing --> |
23 <!--* @package testing --> |
24 <project name="_testing.ats" xmlns:hlm="http://www.nokia.com/helium"> |
24 <project name="_testing.ats" xmlns:hlm="http://www.nokia.com/helium"> |
25 <description> |
25 <description> |
26 ATS testing targets. |
26 ATS testing targets. |
27 </description> |
27 </description> |
28 |
28 |
29 <!--* @property ats.enabled |
29 <!--* @property ats.enabled |
30 Value must be set to execute ats-test target. |
30 Value must be set to execute ats-test target. |
31 @type boolean |
31 @type boolean |
32 @editable required |
32 @editable required |
33 @scope public |
33 @scope public |
34 @since 11.0 |
34 @since 11.0 |
35 --> |
35 --> |
36 |
36 |
|
37 <!--* @property ats.bootuptest.enabled |
|
38 Value must be set to execute ats-bootup-test target. |
|
39 @type boolean |
|
40 @scope public |
|
41 @since 12.0 |
|
42 --> |
|
43 |
37 <!--* @property internal.ats.enabled |
44 <!--* @property internal.ats.enabled |
38 Set to run ats targests if ats.enabled set to true. |
45 Set to run ats targests if ats.enabled set to true. |
39 @type boolean |
46 @type boolean |
40 @scope private |
47 @scope private |
41 --> |
48 --> |
42 |
49 |
|
50 <!--* @property ats.aste.testasset.location |
|
51 Location of SW Test Assets, if the TestAsset is not packaged then it is first compressed to a .zip file. It should be a UNC path. |
|
52 @type string |
|
53 @editable required |
|
54 @scope public |
|
55 --> |
|
56 |
|
57 <!--* @property eunit.test.package |
|
58 The EUnit package name to be unzipped on the environment, for executing EUnit tests. |
|
59 @type string |
|
60 @scope public |
|
61 --> |
|
62 |
|
63 <!--* @property ats.script.type |
|
64 There are two types of ats script files to send drop to ATS server, runx and import; only difference is that with import ATS doesn't have to have access rights to testdrop.zip file, as it is sent to the system over http and import doesn't need network shares. If that is not needed import should not be used. Default value is runx as import involves heavy processing on ATS server. |
|
65 @type string |
|
66 @scope public |
|
67 --> |
|
68 |
|
69 <!--* @property tsrc.path.list |
|
70 Contains list of the tsrc directories. Gets the list from system definition layer files. Assuming that the test components are defined already in te layers.sysdef.xml files to get compiled. Not recommended, but the property value can be set if there are no System Definition file(s), and tsrc directories paths to set manually. |
|
71 @type string |
|
72 @scope public |
|
73 --> |
|
74 |
|
75 <!--* @property ats.diamonds.signal |
|
76 Should be true so at end of the build diamonds is checked for test results and Helium fails if tests failed. |
|
77 @type string |
|
78 @scope public |
|
79 --> |
|
80 |
|
81 <!-- Contains a test filterset name. A filterset is used to select/unselect test components. The filter(s) is/are effective when the same filters are defined in the package definition file for component(s). |
|
82 @type string |
|
83 @editable required |
|
84 @scope public |
|
85 @since 10.79 |
|
86 --> |
|
87 <property name="ats.test.filterset" value="sysdef.filters.test" /> |
|
88 <hlm:sysdefFilterSet id="sysdef.filters.test" > |
|
89 <filter filter="test" /> |
|
90 </hlm:sysdefFilterSet> |
|
91 |
|
92 <!--* @property tdriver.asset.location |
|
93 The location of the test asset where ruby test files, sip profiles, hardware data etc are located. |
|
94 @type string |
|
95 @editable required |
|
96 @scope public |
|
97 --> |
|
98 |
|
99 <!--* @property tdriver.test.profiles |
|
100 Test profiles to be executed should be mentioned in this comma separated list e.g., 'bat, fute'. |
|
101 @type string |
|
102 @editable required |
|
103 @scope public |
|
104 --> |
|
105 |
|
106 <!--* @property tdriver.tdrunner.enabled |
|
107 Mustbe set to 'true' if TDrunner is engine is to be used. If true .sip files are used otherwise .rb (ruby) files are used to execute tests. |
|
108 @type boolean |
|
109 @editable required |
|
110 @scope public |
|
111 --> |
|
112 |
|
113 <!--* @property tdriver.template.file |
|
114 Location of the TDriver template file if user wants to use own template file instead of the default one. |
|
115 @type string |
|
116 @scope public |
|
117 --> |
|
118 |
43 <!--* @property enabled.ats |
119 <!--* @property enabled.ats |
44 Value must be set to execute ats-test target. - deprecated: Start using ats.enabled property. |
120 Value must be set to execute ats-test target. - deprecated: Start using ats.enabled property. |
45 @type boolean |
121 @type boolean |
46 @editable required |
122 @editable required |
47 @scope public |
123 @scope public |
275 <or> |
352 <or> |
276 <istrue value="${aste.enabled}" /> |
353 <istrue value="${aste.enabled}" /> |
277 <isset property="enabled.aste"/> |
354 <isset property="enabled.aste"/> |
278 </or> |
355 </or> |
279 </condition> |
356 </condition> |
280 |
357 |
|
358 <!-- Check if bootup testing is enabled --> |
|
359 <condition property="internal.ats.bootuptest.enabled"> |
|
360 <istrue value="${ats.bootuptest.enabled}" /> |
|
361 </condition> |
|
362 |
281 <!-- Check is the ast4 enabled --> |
363 <!-- Check is the ast4 enabled --> |
282 <condition property="internal.ats4.enabled" value="true" else="false"> |
364 <condition property="internal.ats4.enabled" value="true" else="false"> |
283 <istrue value="${ats4.enabled}" /> |
365 <istrue value="${ats4.enabled}" /> |
284 </condition> |
366 </condition> |
285 |
367 |
286 <!-- Check is the ats emulator enabled --> |
368 <!-- Check is the ats emulator enabled --> |
287 <condition property="internal.ats.emulator.enabled"> |
369 <condition property="internal.ats.emulator.enabled"> |
288 <or> |
370 <or> |
289 <istrue value="${ats.emulator.enabled}" /> |
371 <istrue value="${ats.emulator.enabled}" /> |
290 <istrue value="${ats.emulator.enable}" /> |
372 <istrue value="${ats.emulator.enable}" /> |
291 </or> |
373 </or> |
292 </condition> |
374 </condition> |
293 |
375 |
294 <!-- Check is the ats matti enabled --> |
376 <!-- Check is the ats TDriver enabled --> |
295 <condition property="internal.matti.enabled"> |
377 <condition property="internal.ats.tdriver.enabled"> |
296 <istrue value="${matti.enabled}" /> |
378 <or> |
|
379 <istrue value="${ats.tdriver.enabled}" /> |
|
380 <istrue value="${tdriver.enabled}" /> |
|
381 <istrue value="${matti.enabled}" /> |
|
382 </or> |
297 </condition> |
383 </condition> |
298 |
384 |
299 <!-- Check is the ats ats delta enabled --> |
385 <!-- Check is the ats ats delta enabled --> |
300 <condition property="internal.ats.delta.enabled"> |
386 <condition property="internal.ats.delta.enabled"> |
301 <istrue value="${ats.delta.enabled}" /> |
387 <istrue value="${ats.delta.enabled}" /> |
404 </hlm:textmetadatainput> |
504 </hlm:textmetadatainput> |
405 </hlm:metadatarecord> |
505 </hlm:metadatarecord> |
406 <hlm:generateBuildStatus file="${test.log.dir}/${build.id}_aste.log" /> |
506 <hlm:generateBuildStatus file="${test.log.dir}/${build.id}_aste.log" /> |
407 </target> |
507 </target> |
408 |
508 |
409 <!-- The target creates the MATTI_drop.zip file including test.xml for MATTI tests. This target is executable.--> |
509 <!-- Old target for tdriver-test. Deprecated in Helium 12 --> |
410 <target name="matti-test" if="internal.matti.enabled"> |
510 <target name="matti-test"> |
|
511 <runtarget target="tdriver-test" /> |
|
512 </target> |
|
513 |
|
514 <!-- The target creates the TDriver_drop.zip file including test.xml for TDriver tests. This target is executable.--> |
|
515 <target name="tdriver-test" if="internal.ats.tdriver.enabled"> |
411 <mkdir dir="${test.log.dir}"/> |
516 <mkdir dir="${test.log.dir}"/> |
412 <runtarget target="load-property-from-cache-file" /> |
517 <runtarget target="load-property-from-cache-file" /> |
413 <hlm:filterRecordStartMacro pattern="${ats.password}" category="ats"/> |
518 <hlm:filterRecordStartMacro pattern="${ats.password}" category="ats"/> |
414 <runtarget target="do-ats-matti" /> |
519 <runtarget target="copy-mon-sym" /> |
415 <hlm:filterRecordStopMacro log="${test.log.dir}/${build.id}_matti.log" append="false"/> |
520 <runtarget target="do-ats-tdriver" /> |
|
521 <hlm:filterRecordStopMacro log="${test.log.dir}/${build.id}_tdriver.log" append="false"/> |
416 <hlm:metadatarecord database="${metadata.dbfile}"> |
522 <hlm:metadatarecord database="${metadata.dbfile}"> |
417 <hlm:textmetadatainput> |
523 <hlm:textmetadatainput> |
418 <fileset casesensitive="false" file="${test.log.dir}/${build.id}_matti.log" /> |
524 <fileset casesensitive="false" file="${test.log.dir}/${build.id}_tdriver.log" /> |
419 <metadatafilterset refid="filterset.matti" /> |
525 <metadatafilterset refid="filterset.tdriver" /> |
420 </hlm:textmetadatainput> |
526 </hlm:textmetadatainput> |
421 </hlm:metadatarecord> |
527 </hlm:metadatarecord> |
422 <hlm:generateBuildStatus file="${test.log.dir}/${build.id}_matti.log" /> |
528 <hlm:generateBuildStatus file="${test.log.dir}/${build.id}_tdriver.log" /> |
423 </target> |
529 </target> |
424 |
530 |
425 <!-- Sends drop file to ATS/ASTE. Please see `ats-test` for description. --> |
531 <!-- Sends drop file to ATS/ASTE. Please see `ats-test` for description. --> |
426 <target name="do-ats-test" depends="ats-username, ats-password" if="internal.ats.upload.enabled"> |
532 <target name="do-ats-test" depends="ats-username, ats-password" if="internal.ats.upload.enabled"> |
427 <property name="ats.sending" value="true" /> |
533 <property name="ats.sending" value="true" /> |
613 @type boolean |
725 @type boolean |
614 @scope public |
726 @scope public |
615 @editable required |
727 @editable required |
616 --> |
728 --> |
617 <property name="ats.trace.enabled" value="false"/> |
729 <property name="ats.trace.enabled" value="false"/> |
618 |
730 <!-- Should be ``true`` so a set is used for each pkg file in a component, this allows tests to run in parallel on several devices. |
619 <!-- Should be "true" if coverage measurement and dynamic analysis (CTC) tool support is to be used by ATS. Default value is "false", the values are case-sensitive. |
|
620 @type boolean |
731 @type boolean |
|
732 @scope public |
|
733 --> |
|
734 <property name="ats.multiset.enabled" value="false"/> |
|
735 |
|
736 <!-- Flags for EUnit exerunner can be set by setting the value of this variable. The default flags are set to "/E S60AppEnv /R Off". |
|
737 @type string |
621 @editable required |
738 @editable required |
622 @scope public |
739 @scope public |
623 --> |
740 --> |
624 <property name="ats.ctc.enabled" value="false"/> |
|
625 |
|
626 <!--* @property internal.ats.ctc.enabled |
|
627 Set to run the ats ctc targets. |
|
628 @type boolean |
|
629 @scope private |
|
630 --> |
|
631 <condition property="internal.ats.ctc.enabled"> |
|
632 <istrue value="${ats.ctc.enabled}" /> |
|
633 </condition> |
|
634 |
|
635 <!-- Flags for EUnit exerunner can be set by setting the value of this variable. The default flags are set to "/E S60AppEnv /R Off". |
|
636 @type boolean |
|
637 @editable required |
|
638 @scope public |
|
639 --> |
|
640 <property name="ats.multiset.enabled" value="false"/> |
|
641 |
|
642 <property name="eunitexerunner.flags" value="/E S60AppEnv /R Off" /> |
741 <property name="eunitexerunner.flags" value="/E S60AppEnv /R Off" /> |
643 |
742 |
644 <!--* @property ats.obey.pkgfiles.rule.enabled |
743 <!--* @property ats.obey.pkgfiles.rule.enabled |
645 If the property is set to "true", then the only test components which will have PKG files, will be included into the test.xml as a test-set. Which means, even if there's a test component (executable) but there's no PKG file, it should not be considered as a test component and hence not included into the test.xml as a separate test. By default the property value is false. |
744 If the property is set to "true", then the only test components which will have PKG files, will be included into the test.xml as a test-set. Which means, even if there's a test component (executable) but there's no PKG file, it should not be considered as a test component and hence not included into the test.xml as a separate test. By default the property value is false. |
646 @type boolean |
745 @type boolean |
683 </target> |
782 </target> |
684 |
783 |
685 <!-- Sets default values for the ASTE, this is a dependent target and shouldn't be used as an individual target --> |
784 <!-- Sets default values for the ASTE, this is a dependent target and shouldn't be used as an individual target --> |
686 <target name="ats-set-defaults-aste" depends="ats-common"> |
785 <target name="ats-set-defaults-aste" depends="ats-common"> |
687 <var name="ats.drop.file" value="ATSAsteDrop.zip" /> |
786 <var name="ats.drop.file" value="ATSAsteDrop.zip" /> |
|
787 <!-- Type of test to run. Default is 'smoke'. |
|
788 @type string |
|
789 @scope public |
|
790 --> |
688 <property name="ats.aste.test.type" value="smoke" /> |
791 <property name="ats.aste.test.type" value="smoke" /> |
|
792 <!-- These are the cases that which tests should be run from the TestAsset. For example, value can be set as 100,101,102,103,105,106,. A comma is needed to separate case IDs |
|
793 @type string |
|
794 @scope public |
|
795 --> |
689 <property name="ats.aste.testasset.caseids" value="100,101,102,103,105,106,107,108,109,110,111,112,113,114,115" /> |
796 <property name="ats.aste.testasset.caseids" value="100,101,102,103,105,106,107,108,109,110,111,112,113,114,115" /> |
|
797 <!-- Version of the software to be tested. For example: 'W81' |
|
798 @type string |
|
799 @editable required |
|
800 @scope public |
|
801 --> |
690 <property name="ats.aste.software.version" value="${build.id}" /> |
802 <property name="ats.aste.software.version" value="${build.id}" /> |
|
803 <!-- Variant Language to be tested. Default is 'English' |
|
804 @type string |
|
805 @scope public |
|
806 --> |
691 <property name="ats.aste.language" value="English" /> |
807 <property name="ats.aste.language" value="English" /> |
|
808 <!-- Flash images releases, for example 'SPP 51.32'. |
|
809 @type string |
|
810 @editable required |
|
811 @scope public |
|
812 --> |
692 <property name="ats.aste.software.release" value="${build.name}" /> |
813 <property name="ats.aste.software.release" value="${build.name}" /> |
693 <!-- Modify the plan name if you have understanding of test.xml file or leave it as it is. Default value is "plan" |
814 <!-- Modify the plan name if you have understanding of test.xml file or leave it as it is. Default value is "plan" |
694 @type string |
815 @type string |
695 @scope public |
816 @scope public |
696 --> |
817 --> |
800 <arg value="--ctc-run-process-params=${ats.ctc.host}#${ats.drop.file}#${ats.drops.count}" /> <!-- Three differnt value are combined with '#' character which is later parsed inside the script --> |
921 <arg value="--ctc-run-process-params=${ats.ctc.host}#${ats.drop.file}#${ats.drops.count}" /> <!-- Three differnt value are combined with '#' character which is later parsed inside the script --> |
801 <arg value="--monsym-files=${ats.ctc.monsyms}" /> |
922 <arg value="--monsym-files=${ats.ctc.monsyms}" /> |
802 <arg value="--config=${ats.config.file}" /> |
923 <arg value="--config=${ats.config.file}" /> |
803 <arg value="--obey-pkgfiles=${internal.ats.obey.pkgfiles.rule.enabled}" /> |
924 <arg value="--obey-pkgfiles=${internal.ats.obey.pkgfiles.rule.enabled}" /> |
804 <arg value="--ats4-enabled=${internal.ats4.enabled}" /> |
925 <arg value="--ats4-enabled=${internal.ats4.enabled}" /> |
|
926 <arg value="--ats-stf-enabled=${ats.stf.enabled}" /> |
805 <arg value="--specific-pkg=${ats.specific.pkg}" /> |
927 <arg value="--specific-pkg=${ats.specific.pkg}" /> |
806 <arg value="--hti=${ats.hti.enabled}" /> |
928 <arg value="--hti=${ats.hti.enabled}" /> |
|
929 <arg value="--minimum-execution-blocks=${ats.minimum.execution.blocks.enabled}" /> |
807 <arg value="--verbose" /> |
930 <arg value="--verbose" /> |
808 <arg line="${module.tsrc.@{module}}" /> |
931 <arg line="${module.tsrc.@{module}}" /> |
809 </exec> |
932 </exec> |
810 <antcall target="do-ats-test" /> |
933 <antcall target="do-ats-test" /> |
811 <math result="drop.file.counter" operand1="1" operation="+" operand2="${drop.file.counter}" datatype="int" /> |
934 <math result="drop.file.counter" operand1="1" operation="+" operand2="${drop.file.counter}" datatype="int" /> |
984 <arg value="--test-type=${ats.custom.test.type}" /> |
1108 <arg value="--test-type=${ats.custom.test.type}" /> |
985 </exec> |
1109 </exec> |
986 <runtarget target="do-ats-test" /> |
1110 <runtarget target="do-ats-test" /> |
987 </target> |
1111 </target> |
988 |
1112 |
989 <!-- a dependant target please do not call directly use matti-test, |
1113 <!-- a dependant target please do not call directly use tdriver-test, |
990 target calls the MATTI script that creates the MATTI_drop.zip file and runs the tests |
1114 target calls the TDriver script that creates the TDriver_drop.zip file and runs the tests |
991 listed in test.rb. ats-set-flash-image-path and ats-set-sis-flash-image-path look for lists of files--> |
1115 listed in test.rb. ats-set-flash-image-path and ats-set-sis-flash-image-path look for lists of files--> |
992 <target name="do-ats-matti" depends="ats-set-flash-image-path" > |
1116 <target name="do-ats-tdriver" depends="ats-set-flash-image-path" > |
993 <runtarget target="ats-set-defaults-stifeunit" /> |
1117 <runtarget target="ats-set-defaults-stifeunit" /> |
|
1118 |
|
1119 <!-- Separate but similar property to ats.test.timeout for TDriver tests. |
|
1120 @type string |
|
1121 @editable required |
|
1122 @scope public |
|
1123 --> |
|
1124 <property name="tdriver.test.timeout" value="60" /> |
|
1125 <!-- There are special sis files required to execute with test execution. This is a comma separated list in which several sis files can be deifned in a certain format like '<src file on build area>#<destination to save the file on memory card>#<destination to install the file>' e.g. <x:dir1abc.sis#f:memory1abc.sis#c:phonememoryprivateabc.sis> |
|
1126 @type string |
|
1127 @editable required |
|
1128 @scope public |
|
1129 --> |
|
1130 <property name="tdriver.sis.files" value=""/> |
|
1131 <!-- TDrunner parameters are set using this property. e.g. 'teardown ordered'. |
|
1132 @type string |
|
1133 @editable required |
|
1134 @scope public |
|
1135 --> |
|
1136 <property name="tdriver.tdrunner.parameters" value=""/> |
|
1137 <!-- TDriver test parameters can be given through TDriver parameters xml file. |
|
1138 @type string |
|
1139 @editable required |
|
1140 @scope public |
|
1141 --> |
|
1142 <property name="tdriver.parameters" value=""/> |
|
1143 <!-- Alias name for the test cases to be used in test.xml files for ATS4 drops only. |
|
1144 @type string |
|
1145 @scope public |
|
1146 @since 11.0 |
|
1147 --> |
|
1148 <property name="ats.alias.name" value="sut_s60"/> |
|
1149 <!-- The Subject for the ATS report email. This email is received in the end of the test execution. |
|
1150 @type string |
|
1151 @scope public |
|
1152 --> |
|
1153 <property name="ats.email.subject" value="${build.id} TDriver test results"/> |
|
1154 <!-- This specifies email format. E.g. to receive email without attachment 'simplelogger'. |
|
1155 @type string |
|
1156 @scope public |
|
1157 --> |
|
1158 <property name="ats.email.format" value="simplelogger"/> |
|
1159 <fail unless="tdriver.asset.location" message="Error: tdriver.asset.location property not defined" /> |
|
1160 |
994 <!--need to set theseup for use by do-ats-test target--> |
1161 <!--need to set theseup for use by do-ats-test target--> |
995 <mkdir dir="${build.output.dir}/ats" /> |
1162 <mkdir dir="${build.output.dir}/ats" /> |
996 <var name="ats.drop.file" value="ATSMattiDrop.zip" /> |
1163 <var name="ats.drop.file" value="ATSTDriverDrop.zip" /> |
997 <!-- execute the MattiDrops.py script with parameters--> |
1164 <!-- execute the tdriver.py script with parameters--> |
998 <exec executable="python" resultproperty="script.response"> |
1165 <exec executable="python" resultproperty="script.response"> |
999 <arg line="-m ats3.matti2" /> |
1166 <arg line="-m ats3.tdriver" /> |
1000 <arg value="--build-drive=${build.drive}" /> |
1167 <arg value="--build-drive=${build.drive}" /> |
1001 <arg value="--test-profiles=${matti.test.profiles}" /> <!--"all, !bat1" --> |
1168 <arg value="--test-profiles=${tdriver.test.profiles}" /> <!--"all, !bat1" --> |
1002 <arg value="--sierra-enabled=${matti.sierra.enabled}" /> <!--"true/false" --> |
1169 <arg value="--tdrunner-enabled=${tdriver.tdrunner.enabled}" /> <!--"true/false" --> |
1003 <arg value="--matti-timeout=${matti.test.timeout}" /> <!--"600" --> |
1170 <arg value="--tdriver-timeout=${tdriver.test.timeout}" /> <!--"600" --> |
1004 <arg value="${internal.ats.diamonds.arg}" /> |
1171 <arg value="${internal.ats.diamonds.arg}" /> |
1005 <arg value="--testasset-location=${matti.asset.location}" /> <!--"local and/or network drive" --> |
1172 <arg value="--testasset-location=${tdriver.asset.location}" /> <!--"local and/or network drive" --> |
1006 <arg value="--file-store=${ats.output.dir}" /> <!--"network drive" --> |
1173 <arg value="--file-store=${ats.report.location}" /> <!--"network drive" --> |
1007 <arg value="--testrun-name=${ats.testrun.name}" /> <!--"Matti_Profile_Name" --> |
1174 <arg value="--testrun-name=${ats.testrun.name}" /> <!--"TDriver_Profile_Name" --> |
1008 <arg value="--alias-name=${ats.alias.name}" /> <!--"agents_alias_Name" --> |
1175 <arg value="--alias-name=${ats.alias.name}" /> <!--"agents_alias_Name" --> |
1009 <arg value="--device-type=${ats.product.name}" /> |
1176 <arg value="--device-type=${ats.product.name}" /> |
1010 <arg value="--flash-images=${ats.flash.images}" /> |
1177 <arg value="--flash-images=${ats.flash.images}" /> |
1011 <arg value="--drop-file=${build.output.dir}/ats/${ats.drop.file}" /> |
1178 <arg value="--drop-file=${build.output.dir}/ats/${ats.drop.file}" /> |
1012 <arg value="--minimum-flash-images=${ats.flashfiles.minlimit}" /> |
1179 <arg value="--minimum-flash-images=${ats.flashfiles.minlimit}" /> |
1013 <arg value="--template-loc=${matti.template.file}" /> <!--"local and/or network drive. No comma separated list" --> |
1180 <arg value="--template-loc=${tdriver.template.file}" /> <!--"local and/or network drive. No comma separated list" --> |
1014 <arg value="--email-format=${ats.email.format}" /> <!--"Email Formatting. e.g. simplelogger" --> |
1181 <arg value="--email-format=${ats.email.format}" /> <!--"Email Formatting. e.g. simplelogger" --> |
1015 <arg value="--email-subject=${ats.email.subject}" /> <!--"Email Subject. e.g. Matti testing" --> |
1182 <arg value="--email-subject=${ats.email.subject}" /> <!--"Email Subject. e.g. TDriver testing" --> |
1016 <arg value="--report-email=${ats.email.list}" /> |
1183 <arg value="--report-email=${ats.email.list}" /> |
1017 <arg value="--ats4-enabled=${internal.ats4.enabled}" /> |
1184 <arg value="--ats4-enabled=${internal.ats4.enabled}" /> |
1018 <arg value="--matti-sis-files=${matti.sis.files}" /> <!--"src#store#dst, src#store#dst" --> |
1185 <arg value="--tdriver-sis-files=${tdriver.sis.files}" /> <!--"src#store#dst, src#store#dst" --> |
1019 <arg value="--matti-parameters=${matti.parameters}" /> |
1186 <arg value="--tdriver-parameters=${tdriver.parameters}" /> |
1020 <arg value="--sierra-parameters=${matti.sierra.parameters}" /> <!--Additional sierra parameters for matti task e.g. ordered teardown --> |
1187 <arg value="--tdrunner-parameters=${tdriver.tdrunner.parameters}" /> <!--Additional TDrunner parameters for tdriver task e.g. ordered teardown --> |
|
1188 <arg value="--ctc-enabled=${ats.ctc.enabled}" /> |
1021 </exec> |
1189 </exec> |
1022 |
|
1023 <!-- Unset the internal property to overwrite with new value--> |
|
1024 <var name="internal.ats.upload.enabled" unset="true"/> |
|
1025 <!-- set internal property if python returns 0 value for matti test drop creation --> |
|
1026 <condition property="internal.ats.upload.enabled"> |
|
1027 <equals arg1="${script.response}" arg2="0" /> |
|
1028 </condition> |
|
1029 <runtarget target="do-ats-test" /> |
1190 <runtarget target="do-ats-test" /> |
1030 </target> |
1191 </target> |
1031 |
1192 |
|
1193 <!-- The target is used to test ROM image files that whether device boots up --> |
|
1194 <target name="ats-bootup-test" depends="ats-common,ats-set-flash-image-path" if="internal.ats.bootuptest.enabled"> |
|
1195 <!--need to set the setup for use by do-ats-test target--> |
|
1196 <mkdir dir="${build.output.dir}/ats" /> |
|
1197 <var name="ats.drop.file" value="ATSBootupDrop.zip" /> |
|
1198 <!-- execute the bootup_testing.py script with parameters--> |
|
1199 <exec executable="python" resultproperty="script.response"> |
|
1200 <arg line="-m ats3.bootup_testing" /> |
|
1201 <arg value="--build-drive=${build.drive}" /> |
|
1202 <arg value="${internal.ats.diamonds.arg}" /> |
|
1203 <arg value="--file-store=${ats.report.location}" /> <!--"network drive" --> |
|
1204 <arg value="--testrun-name=${ats.testrun.name}" /> <!--"bootup_test" --> |
|
1205 <arg value="--alias-name=${ats.alias.name}" /> <!--"agents_alias_Name" --> |
|
1206 <arg value="--device-type=${ats.product.name}" /> |
|
1207 <arg value="--flash-images=${ats.flash.images}" /> |
|
1208 <arg value="--drop-file=${build.output.dir}/ats/${ats.drop.file}" /> |
|
1209 <arg value="--minimum-flash-images=${ats.flashfiles.minlimit}" /> |
|
1210 <arg value="--email-format=${ats.email.format}" /> <!--"Email Formatting. e.g. simplelogger" --> |
|
1211 <arg value="--email-subject=${ats.email.subject}" /> <!--"Email Subject. e.g. TDriver testing" --> |
|
1212 <arg value="--report-email=${ats.email.list}" /> |
|
1213 <arg value="--ats4-enabled=${internal.ats4.enabled}" /> |
|
1214 </exec> |
|
1215 <runtarget target="do-ats-test" /> |
|
1216 </target> |
1032 |
1217 |
1033 </project> |
1218 </project> |