Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: archive_hwqual

Issue 2951003: Make generate_test_reports a symlink to the py file so it can be imported. (Closed) Base URL: ssh://git@chromiumos-git//crosutils.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | generate_test_report » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to take an archived build result and prepare a hwqual release. 7 # Script to take an archived build result and prepare a hwqual release.
8 8
9 # Load common constants. This should be the first executable line. 9 # Load common constants. This should be the first executable line.
10 # The path to common.sh should be relative to your script's location. 10 # The path to common.sh should be relative to your script's location.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 "${FLAGS_output_tag}/autotest/client/site_tests/suite_HWQual/README.txt" \ 82 "${FLAGS_output_tag}/autotest/client/site_tests/suite_HWQual/README.txt" \
83 tarball 83 tarball
84 ln -s \ 84 ln -s \
85 "${FLAGS_output_tag}/autotest/client/site_tests/suite_HWQual/html" tarball 85 "${FLAGS_output_tag}/autotest/client/site_tests/suite_HWQual/html" tarball
86 ln -s autotest/client/site_tests/suite_HWQual/manual \ 86 ln -s autotest/client/site_tests/suite_HWQual/manual \
87 "tarball/${FLAGS_output_tag}" 87 "tarball/${FLAGS_output_tag}"
88 cp "${script_dir}/mod_for_test_scripts/ssh_keys/testing_rsa" \ 88 cp "${script_dir}/mod_for_test_scripts/ssh_keys/testing_rsa" \
89 "tarball/${FLAGS_output_tag}" 89 "tarball/${FLAGS_output_tag}"
90 chmod 0400 "tarball/${FLAGS_output_tag}/testing_rsa" 90 chmod 0400 "tarball/${FLAGS_output_tag}/testing_rsa"
91 mv autotest "tarball/${FLAGS_output_tag}" 91 mv autotest "tarball/${FLAGS_output_tag}"
92 cp "${script_dir}/generate_test_report" "tarball/${FLAGS_output_tag}" 92 cp "${script_dir}/generate_test_report.py" \
93 "tarball/${FLAGS_output_tag}/generate_test_report"
93 echo "Creating ${FLAGS_to}/${FLAGS_output_tag}.tar.bz2..." 94 echo "Creating ${FLAGS_to}/${FLAGS_output_tag}.tar.bz2..."
94 mkdir -p "${FLAGS_to}" 95 mkdir -p "${FLAGS_to}"
95 cd tarball 96 cd tarball
96 tar --bzip2 -cf "${FLAGS_to}/${FLAGS_output_tag}.tar.bz2" . 97 tar --bzip2 -cf "${FLAGS_to}/${FLAGS_output_tag}.tar.bz2" .
97 98
98 trap - EXIT 99 trap - EXIT
99 cleanup 100 cleanup
100 101
101 echo "Done." 102 echo "Done."
102 cd "${script_dir}" 103 cd "${script_dir}"
103 } 104 }
104 105
105 main "$@" 106 main "$@"
OLDNEW
« no previous file with comments | « no previous file | generate_test_report » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698