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

Side by Side Diff: client/site_tests/hardware_TPM/hardware_TPM.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 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os 5 import os
6 6
7 from autotest_lib.client.bin import site_tpm, test, utils 7 from autotest_lib.client.bin import site_tpm, test, utils
8 8
9 class hardware_TPM(test.test): 9 class hardware_TPM(test.test):
10 version = 1 10 version = 1
11 preserve_srcdir = True 11 preserve_srcdir = True
12 12
13 def setup(self): 13 def setup(self):
14 os.chdir(self.srcdir) 14 os.chdir(self.srcdir)
15 utils.system('make clean all') 15 utils.make('clean all')
16 16
17 def run_once(self, suite): 17 def run_once(self, suite):
18 site_tpm.run_trousers_tests('%s/src/tests/%s' % (self.bindir, suite)) 18 site_tpm.run_trousers_tests('%s/src/tests/%s' % (self.bindir, suite))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698