+prepare_submit() +{
- local submit_dir="/tmp/iso2rootfs/submit_tmp"
- [ -d "${submit_dir}" ] || mkdir -p "${submit_dir}"
- local submit_git_dir="${submit_dir}/${test_git_url##*/}"
- submit_git_dir="${submit_git_dir%.git}"
- [ -d "${submit_git_dir}" ] || {
cd "${submit_dir}"
git clone "${test_git_url}"
- }
- local test_git_yaml="${submit_git_dir}/$(eval echo "$${test_num}_git_yaml")"
- local test_git_script="${submit_git_dir}/$(eval echo "$${test_num}_git_script")"
- [ -f "${test_git_yaml}" ] || die "cannot find file: ${test_num}_git_yaml."
- cp "${test_git_yaml}" "${LKP_SRC}/jobs/"
- [ -f "${test_git_script}" ] || return 0
- cp "${test_git_script}" "${LKP_SRC}/tests/"
Please check if it is permitted to miss test_git_script for a job.
Ok, i'll check here.
-------- Thanks Yu Chuan
Thanks, Xijian