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

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

Issue 3116009: Update autotest tests to use make -j where possible. (Closed) Base URL: ssh://git@chromiumos-git/autotest.git
Patch Set: Convert last two tests to use utils.make(), saving another 20 seconds. 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
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 import os 3 import os
4 import common 4 import common
5 from autotest_lib.client.bin import utils 5 from autotest_lib.client.bin import utils
6 6
7 version = 1 7 version = 1
8 8
9 def setup(tarball, topdir): 9 def setup(tarball, topdir):
10 srcdir = os.path.join(topdir, 'src') 10 srcdir = os.path.join(topdir, 'src')
11 if not os.path.exists(tarball): 11 if not os.path.exists(tarball):
12 utils.get_file( 12 utils.get_file(
13 'http://pagesperso-orange.fr/sebastien.godard/sysstat-9.0.6.tar.gz', 13 'http://pagesperso-orange.fr/sebastien.godard/sysstat-9.0.6.tar.gz',
14 tarball) 14 tarball)
15 utils.extract_tarball_to_dir(tarball, 'src') 15 utils.extract_tarball_to_dir(tarball, 'src')
16 os.chdir(srcdir) 16 os.chdir(srcdir)
17 utils.configure('--prefix=%s' % topdir) 17 utils.configure('--prefix=%s' % topdir)
18 utils.system('make') 18 utils.make()
19 os.chdir(topdir) 19 os.chdir(topdir)
20 20
21 pwd = os.getcwd() 21 pwd = os.getcwd()
22 tarball = os.path.join(pwd, 'sysstat-9.0.6.tar.gz') 22 tarball = os.path.join(pwd, 'sysstat-9.0.6.tar.gz')
23 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd) 23 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698