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

Side by Side Diff: mod_image_for_test.sh

Issue 3010035: Removed chrome ui tests and its dependencies from the factory image (Closed) Base URL: ssh://gitrw.chromium.org/crosutils.git
Patch Set: Created 10 years, 4 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 | 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) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 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 modify a keyfob-based chromeos system image for testability. 7 # Script to modify a keyfob-based chromeos system image for testability.
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 sudo cp -fpru ${AUTOTEST_SRC}/client/* \ 141 sudo cp -fpru ${AUTOTEST_SRC}/client/* \
142 "/tmp/autotest" 142 "/tmp/autotest"
143 # Remove outrageously large tests. 143 # Remove outrageously large tests.
144 # TODO(nsanders): is there a better way to do this? 144 # TODO(nsanders): is there a better way to do this?
145 sudo rm -rf /tmp/autotest/deps/realtimecomm_playground 145 sudo rm -rf /tmp/autotest/deps/realtimecomm_playground
146 sudo rm -rf /tmp/autotest/tests/ltp 146 sudo rm -rf /tmp/autotest/tests/ltp
147 sudo rm -rf /tmp/autotest/site_tests/graphics_O3DSelenium 147 sudo rm -rf /tmp/autotest/site_tests/graphics_O3DSelenium
148 sudo rm -rf /tmp/autotest/realtimecomm_GTalk* 148 sudo rm -rf /tmp/autotest/realtimecomm_GTalk*
149 sudo rm -rf /tmp/autotest/site_tests/platform_StackProtector 149 sudo rm -rf /tmp/autotest/site_tests/platform_StackProtector
150 sudo rm -rf /tmp/autotest/deps/chrome_test
151 sudo rm -rf /tmp/autotest/site_tests/desktopui_BrowserTest
152 sudo rm -rf /tmp/autotest/site_tests/desktopui_UITest
150 153
151 sudo cp -fpru /tmp/autotest/* \ 154 sudo cp -fpru /tmp/autotest/* \
152 "${stateful_root}/${autotest_client}" 155 "${stateful_root}/${autotest_client}"
153 sudo chmod 755 "${stateful_root}/${autotest_client}" 156 sudo chmod 755 "${stateful_root}/${autotest_client}"
154 sudo chown -R 1000:1000 "${stateful_root}/${autotest_client}" 157 sudo chown -R 1000:1000 "${stateful_root}/${autotest_client}"
155 } 158 }
156 159
157 # main process begins here. 160 # main process begins here.
158 161
159 # Make sure this is really what the user wants, before nuking the device 162 # Make sure this is really what the user wants, before nuking the device
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 bash 225 bash
223 popd 226 popd
224 fi 227 fi
225 228
226 cleanup 229 cleanup
227 230
228 print_time_elapsed 231 print_time_elapsed
229 232
230 trap - EXIT 233 trap - EXIT
231 234
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