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

Side by Side Diff: archive_hwqual

Issue 6696097: Fix archive_hwqual to point to non-py file. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 # --- BEGIN COMMON.SH BOILERPLATE --- 9 # --- BEGIN COMMON.SH BOILERPLATE ---
10 # Load common CrOS utilities. Inside the chroot this file is installed in 10 # Load common CrOS utilities. Inside the chroot this file is installed in
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 ln -s \ 111 ln -s \
112 "${FLAGS_output_tag}/autotest/client/site_tests/suite_HWQual/html" tarball 112 "${FLAGS_output_tag}/autotest/client/site_tests/suite_HWQual/html" tarball
113 ln -s autotest/client/site_tests/suite_HWQual/manual \ 113 ln -s autotest/client/site_tests/suite_HWQual/manual \
114 "tarball/${FLAGS_output_tag}" 114 "tarball/${FLAGS_output_tag}"
115 cp "${script_dir}/mod_for_test_scripts/ssh_keys/testing_rsa" \ 115 cp "${script_dir}/mod_for_test_scripts/ssh_keys/testing_rsa" \
116 "tarball/${FLAGS_output_tag}" 116 "tarball/${FLAGS_output_tag}"
117 chmod 0400 "tarball/${FLAGS_output_tag}/testing_rsa" 117 chmod 0400 "tarball/${FLAGS_output_tag}/testing_rsa"
118 mv autotest "tarball/${FLAGS_output_tag}" 118 mv autotest "tarball/${FLAGS_output_tag}"
119 # Copy call_autoserv.py to tarball. 119 # Copy call_autoserv.py to tarball.
120 cp "${script_dir}/call_autoserv.py" "tarball/${FLAGS_output_tag}/." 120 cp "${script_dir}/call_autoserv.py" "tarball/${FLAGS_output_tag}/."
121 cp "${script_dir}/generate_test_report.py" \ 121 cp "${script_dir}/generate_test_report" \
122 "tarball/${FLAGS_output_tag}/generate_test_report" 122 "tarball/${FLAGS_output_tag}/generate_test_report"
123 # Copy python lib used in generate_test_report. 123 # Copy python lib used in generate_test_report.
124 mkdir -p "tarball/${FLAGS_output_tag}/lib" 124 mkdir -p "tarball/${FLAGS_output_tag}/lib"
125 cp "${script_dir}/lib/cros_build_lib.py" \ 125 cp "${script_dir}/lib/cros_build_lib.py" \
126 "tarball/${FLAGS_output_tag}/lib" 126 "tarball/${FLAGS_output_tag}/lib"
127 echo "Creating ${FLAGS_to}/${FLAGS_output_tag}.tar.bz2..." 127 echo "Creating ${FLAGS_to}/${FLAGS_output_tag}.tar.bz2..."
128 mkdir -p "${FLAGS_to}" 128 mkdir -p "${FLAGS_to}"
129 cd tarball 129 cd tarball
130 tar --bzip2 -cf "${FLAGS_to}/${FLAGS_output_tag}.tar.bz2" . 130 tar --bzip2 -cf "${FLAGS_to}/${FLAGS_output_tag}.tar.bz2" .
131 131
132 trap - EXIT 132 trap - EXIT
133 cleanup 133 cleanup
134 134
135 echo "Done." 135 echo "Done."
136 cd "${script_dir}" 136 cd "${script_dir}"
137 } 137 }
138 138
139 main "$@" 139 main "$@"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698