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

Side by Side Diff: client/deps/glbench/glbench.py

Issue 862004: glbench: pass the right flag so that src doesn't get pruned (Closed)
Patch Set: Created 10 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
« no previous file with comments | « no previous file | client/deps/glbench/src/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
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 import common, os, shutil 7 import common, os, shutil
8 from autotest_lib.client.bin import utils 8 from autotest_lib.client.bin import utils
9 9
10 version = 1 10 version = 1
11 11
12 def setup(topdir): 12 def setup(topdir):
13 my_srcdir = os.path.join(topdir, 'src.orig')
14 srcdir = os.path.join(topdir, 'src') 13 srcdir = os.path.join(topdir, 'src')
15 shutil.move(my_srcdir, srcdir)
16 os.chdir(srcdir) 14 os.chdir(srcdir)
17 utils.system('make') 15 utils.system('make')
18 os.chdir(topdir) 16 os.chdir(topdir)
19 17
20 pwd = os.getcwd() 18 pwd = os.getcwd()
21 utils.update_version(pwd + '/src', False, version, setup, pwd) 19 utils.update_version(pwd + '/src', True, version, setup, pwd)
OLDNEW
« no previous file with comments | « no previous file | client/deps/glbench/src/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698