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

Side by Side Diff: client/tests/synctest/synctest.py

Issue 3554003: Merge remote branch 'cros/upstream' into tempbranch3 (Closed) Base URL: http://git.chromium.org/git/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/tests/stress/stress.py ('k') | client/tests/sysbench/sysbench.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 import os 1 import os
2 from autotest_lib.client.bin import test 2 from autotest_lib.client.bin import test
3 from autotest_lib.client.common_lib import utils 3 from autotest_lib.client.common_lib import utils
4 4
5 5
6 class synctest(test.test): 6 class synctest(test.test):
7 version = 1 7 version = 1
8 preserve_srcdir = True 8 preserve_srcdir = True
9 9
10 def initialize(self): 10 def initialize(self):
11 self.job.require_gcc() 11 self.job.require_gcc()
12 12
13 13
14 def setup(self): 14 def setup(self):
15 os.chdir(self.srcdir) 15 os.chdir(self.srcdir)
16 utils.system('make') 16 utils.make()
17 17
18 18
19 def run_once(self, len, loop, testdir=None): 19 def run_once(self, len, loop, testdir=None):
20 args = len + ' ' + loop 20 args = len + ' ' + loop
21 output = os.path.join(self.srcdir, 'synctest ') 21 output = os.path.join(self.srcdir, 'synctest ')
22 if testdir: 22 if testdir:
23 os.chdir(testdir) 23 os.chdir(testdir)
24 utils.system(output + args) 24 utils.system(output + args)
OLDNEW
« no previous file with comments | « client/tests/stress/stress.py ('k') | client/tests/sysbench/sysbench.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698