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

Side by Side Diff: src/scripts/archive_hwqual

Issue 1576035: Add generate_test_report to the hwqual package. (Closed)
Patch Set: Created 10 years, 8 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 | src/scripts/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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 echo "Inserting documentation and autotest to tarball..." 67 echo "Inserting documentation and autotest to tarball..."
68 ln -s \ 68 ln -s \
69 "${FLAGS_output_tag}/autotest/client/site_tests/suite_HWQual/README.txt" \ 69 "${FLAGS_output_tag}/autotest/client/site_tests/suite_HWQual/README.txt" \
70 tarball 70 tarball
71 ln -s autotest/client/site_tests/suite_HWQual/manual \ 71 ln -s autotest/client/site_tests/suite_HWQual/manual \
72 "tarball/${FLAGS_output_tag}" 72 "tarball/${FLAGS_output_tag}"
73 cp "${script_dir}/mod_for_test_scripts/ssh_keys/testing_rsa" \ 73 cp "${script_dir}/mod_for_test_scripts/ssh_keys/testing_rsa" \
74 "tarball/${FLAGS_output_tag}" 74 "tarball/${FLAGS_output_tag}"
75 chmod 0400 "tarball/${FLAGS_output_tag}/testing_rsa" 75 chmod 0400 "tarball/${FLAGS_output_tag}/testing_rsa"
76 mv autotest "tarball/${FLAGS_output_tag}" 76 mv autotest "tarball/${FLAGS_output_tag}"
77 cp "${script_dir}/generate_test_report" "tarball/${FLAGS_output_tag}"
77 78
78 echo "Creating ${FLAGS_to}/${FLAGS_output_tag}.tar.bz2..." 79 echo "Creating ${FLAGS_to}/${FLAGS_output_tag}.tar.bz2..."
79 mkdir -p "${FLAGS_to}" 80 mkdir -p "${FLAGS_to}"
80 cd tarball 81 cd tarball
81 tar --bzip2 -cf "${FLAGS_to}/${FLAGS_output_tag}.tar.bz2" . 82 tar --bzip2 -cf "${FLAGS_to}/${FLAGS_output_tag}.tar.bz2" .
82 83
83 trap - EXIT 84 trap - EXIT
84 cleanup 85 cleanup
85 86
86 echo "Done." 87 echo "Done."
87 cd "${script_dir}" 88 cd "${script_dir}"
88 } 89 }
89 90
90 main "$@" 91 main "$@"
OLDNEW
« no previous file with comments | « no previous file | src/scripts/generate_test_report » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698