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

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

Issue 3541002: Revert "Merge remote branch 'cros/upstream' into tempbranch2" (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git
Patch Set: Created 10 years, 2 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/deps/dejagnu/common.py ('k') | client/deps/libaio/common.py » ('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 import os 3 import os
4 import common
4 from autotest_lib.client.bin import utils 5 from autotest_lib.client.bin import utils
5 6
6 version = 1 7 version = 1
7 8
8 def setup(tarball, topdir): 9 def setup(tarball, topdir):
9 srcdir = os.path.join(topdir, 'src') 10 srcdir = os.path.join(topdir, 'src')
10 utils.extract_tarball_to_dir(tarball, 'src') 11 utils.extract_tarball_to_dir(tarball, 'src')
11 os.chdir(srcdir) 12 os.chdir(srcdir)
12 utils.configure('--prefix=%s/dejagnu' % topdir) 13 utils.system ('./configure --prefix=%s/dejagnu' % topdir)
13 utils.make() 14 utils.system('make')
14 utils.make('install') 15 utils.system('make install')
15 16
16 os.chdir(topdir) 17 os.chdir(topdir)
17 18
18 pwd = os.getcwd() 19 pwd = os.getcwd()
19 # http://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-1.4.4.tar.gz 20 # http://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-1.4.4.tar.gz
20 tarball = os.path.join(pwd, 'dejagnu-1.4.4.tar.bz2') 21 tarball = os.path.join(pwd, 'dejagnu-1.4.4.tar.bz2')
21 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd) 22 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd)
OLDNEW
« no previous file with comments | « client/deps/dejagnu/common.py ('k') | client/deps/libaio/common.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698