diff -r 0f5e3a7fb6af -r 85df38eb4012 buildframework/helium/sf/python/pythoncore/lib/ats3/templates/ats4_macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/buildframework/helium/sf/python/pythoncore/lib/ats3/templates/ats4_macros.xml Tue Apr 27 08:33:08 2010 +0300
@@ -0,0 +1,219 @@
+
+
+{% macro ctc_initialization() -%}
+
+ CreateDirTask
+
+
+
+
+
+ NonTestExecuteTask
+
+
+
+
+{%- endmacro %}
+
+{% macro ctc_finalization(setd) -%}
+
+ NonTestExecuteTask
+
+
+
+
+
+
+ NonTestExecuteTask
+
+
+
+
+
+
+ {% if test_plan["ctc_run_process_params"].strip() != "" -%}
+
+ FileDownloadTask
+
+
+
+
+
+ {% endif %}
+
+
+ FileDownloadTask
+
+
+
+
+{%- endmacro %}
+
+{% macro generate_runsteps_stif(setd) -%}
+ {% set ini_file = atsself.stif_init_file(setd['src_dst']) %}
+ {% if ini_file -%}
+ {% if test_plan['hti'] == 'True' -%}
+
+ StifRunCasesTask
+
+
+
+
+
+
+ {% else %}
+
+ AtsInterfaceTask
+
+
+
+
+
+
+
+ {% endif %}
+ {% else %}
+ {% for file in setd['src_dst'] -%}
+ {% if setd["test_harness"] == "STIF" or setd["test_harness"] == "STIFUNIT" -%}
+ {% if file[2] == "conf" and ".dll" not in file[1].lower() -%}
+ {% if test_plan['hti'] == 'True' -%}
+
+ StifRunCasesTask
+
+
+
+
+
+
+
+ {% else %}
+
+ AtsInterfaceTask
+
+
+
+
+
+
+
+ {% endif %}
+ {% endif %}
+ {% if file[2] == "testmodule" -%}
+ {% if test_plan['hti'] == 'True' -%}
+
+ StifRunCasesTask
+
+
+
+
+
+
+ {% else %}
+
+ AtsInterfaceTask
+
+
+
+
+
+
+
+ {% endif %}
+ {% endif %}
+ {% endif %}
+ {% endfor -%}
+ {% endif %}
+{%- endmacro %}
+
+
+{% macro generate_runsteps_stif_single_set(setd) -%}
+ {% if setd["engine_ini_file"] != None -%}
+ {% if test_plan['hti'] == 'True' -%}
+
+ StifRunCasesTask
+
+
+
+
+
+
+ {% else %}
+
+ AtsInterfaceTask
+
+
+
+
+
+
+
+ {% endif %}
+ {% elif setd["config_files"] != [] -%}
+ {% for config_file in setd["config_files"] -%}
+ {% if test_plan['hti'] == 'True' -%}
+
+ StifRunCasesTask
+
+
+
+
+
+
+
+ {% else %}
+
+ AtsInterfaceTask
+
+
+
+
+
+
+
+ {% endif %}
+ {% endfor -%}
+ {% else %}
+ {% for testmodule_file in setd["testmodule_files"] -%}
+ {% if test_plan['hti'] == 'True' -%}
+
+ StifRunCasesTask
+
+
+
+
+
+
+ {% else %}
+
+ AtsInterfaceTask
+
+
+
+
+
+
+
+ {% endif %}
+ {% endfor -%}
+ {% endif %}
+{%- endmacro %}
\ No newline at end of file