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

Side by Side Diff: client/site_tests/graphics_WebGLConformance/scripts/make-tarball

Issue 3156038: graphics_WebGLConformance: use tarballs for WebGLConformance test (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.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 | Annotate | Revision Log
« no previous file with comments | « client/site_tests/graphics_WebGLConformance/graphics_WebGLConformance.py ('k') | 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
(Empty)
1 #!/bin/bash
2
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
5 # found in the LICENSE file.
6
7 usage() {
8 echo "Usage: $0 <version-tag>"
9 }
10
11 if [[ $# -lt 1 ]]; then
12 usage
13 exit 0
14 fi
15
16 PACKAGENAME=webgl-tests-${1}
17
18 # source locations and revisions, taken from the original DEPS file
19 WEBGL="https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests@1 1002"
20 WEBGLTO="WebGL"
21
22 function update_mirror() {
23 LOCALMIRROR=$1
24 [ -z "${LOCALMIRROR}" ] && return 0
25
26 echo -n "Update local mirror? [yn] "
27 read n
28 if [[ "$n" == "y" ]]; then
29 cp "${PACKAGENAME}.tar.gz" ${LOCALMIRROR}
30 fi
31 }
32
33 function download_stuff() {
34 FILESDIR=`dirname $0`
35
36 echo "Getting WebGL stuff"
37 for sub in WEBGL; do
38 eval svn export \$\{${sub}\} \$\{${sub}TO\}
39 done
40
41 tar -cvjf ${PACKAGENAME}.tar.bz2 WebGL
42 }
43
44 download_stuff "$@"
45 update_mirror
46
OLDNEW
« no previous file with comments | « client/site_tests/graphics_WebGLConformance/graphics_WebGLConformance.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698