diff -r 0f5e3a7fb6af -r 85df38eb4012 buildframework/helium/sf/python/pythoncore/lib/ats3/ats_template.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buildframework/helium/sf/python/pythoncore/lib/ats3/ats_template.xml Tue Apr 27 08:33:08 2010 +0300 @@ -0,0 +1,274 @@ + + + + {{ test_plan['testrun_name'] }} + {{ test_plan['diamonds_build_url'] }} + + {% if test_plan["harness"] == "MULTI_HARNESS" -%} + + + + {% if test_plan["device_hwid"] != "" -%} + + {% endif %} + + + + + {% if test_plan["device_hwid"] != "" -%} + + {% endif %} + + {% else %} + + + + {% if test_plan["device_hwid"] != "" -%} + + {% endif %} + + {% endif %} + + + + + {% for setd in test_plan.sets -%} + + + + + + + {% if setd["ctc_enabled"] == "True" -%} + + makedir + + + + + + execute + + + + + {% endif %} + {% if setd.image_files -%} + {% for img in setd.image_files -%} + + {% endfor -%} + {% endif %} + + makedir + + {% if setd["test_harness"] == "GENERIC" -%} + {% if atsself.check_mtf_harness(setd) -%} + + {% else %} + + {% endif %} + {% endif %} + {% if setd["test_harness"] == "EUNIT" -%} + {% if atsself.check_qt_harness(setd) -%} + + {% else %} + + {% endif %} + {% endif %} + + + + {% for sis_file in setd["sis_files"] -%} + + install + + + + + + {% endfor -%} + + {% for data_file in setd["data_files"] -%} + + install + + + + + + {% endfor -%} + {% for data_file in setd["testmodule_files"] -%} + + install + + + + + + {% endfor -%} + {% for data_file in setd["config_files"] -%} + + install + + + + + + {% endfor -%} + + {% if setd.engine_ini_file -%} + + install + + + + + + {% endif %} + + {% for sis_file in setd["sis_files"] -%} + + install-software + + + + + + + + + + + + + + + + + + {% endfor -%} + + {% if setd.src_dst -%} + {% for file in setd.src_dst -%} + + install + + + + + + + {% if setd["test_harness"] == "GENERIC" -%} + + execute + + {% if 'testscript' in file[2] -%} + {% if file[2] == "testscript:mtf" -%} + + + + {% else %} + + + + {% endif %} + + + {% endif %} + + {% if 'testmodule' in file[2] -%} + + + + + {% endif %} + + + {% endif %} + {% if setd["test_harness"] == "EUNIT" -%} + {% if file[2] == "testmodule:qt" -%} + + execute + + + + + + + + + + + {% endif %} + {% endif %} + + {% endfor -%} + {% endif %} + + fetch-log + + + + {% if setd["test_harness"] == "GENERIC" -%} + {% if atsself.check_mtf_harness(setd) -%} + + {% else %} + + {% endif %} + {% endif %} + {% if setd["test_harness"] == "EUNIT" -%} + {% if atsself.check_qt_harness(setd) -%} + + {% else %} + + {% endif %} + {% endif %} + + + + + {% endfor -%} + + + + {% if test_plan.post_actions %} + {% for action_type, parameters in test_plan.post_actions -%} + + {{ action_type }} + + {% for name, value in parameters -%} + + {% endfor -%} + + + {% endfor -%} + {% endif %} + + + {% for drop_file, _ in atsself.drop_files(test_plan) -%} + {{ drop_file }} + {% endfor -%} + + + \ No newline at end of file