diff -r be27ed110b50 -r d8ac696cc51f buildframework/helium/tools/common/python/lib/ats3/templates/ats4_macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buildframework/helium/tools/common/python/lib/ats3/templates/ats4_macros.xml Wed Dec 23 19:29:07 2009 +0200 @@ -0,0 +1,147 @@ + + +{% 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 -%} + + StifRunCasesTask + + + + + + + {% 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() -%} + + StifRunCasesTask + + + + + + + + {% endif %} + {% if file[2] == "testmodule" -%} + + StifRunCasesTask + + + + + + + {% endif %} + {% endif %} + {% endfor -%} + {% endif %} +{%- endmacro %} + + +{% macro generate_runsteps_stif_single_set(setd) -%} + {% if setd["engine_ini_file"] != None -%} + + StifRunCasesTask + + + + + + + {% elif setd["config_files"] != [] -%} + {% for config_file in setd["config_files"] -%} + + StifRunCasesTask + + + + + + + + {% endfor -%} + {% else %} + {% for testmodule_file in setd["testmodule_files"] -%} + + StifRunCasesTask + + + + + + + {% endfor -%} + {% endif %} +{%- endmacro %} \ No newline at end of file