Expand the tsc tarball to make it easier to maintain
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2034 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/tsc/tsc.py b/client/tests/tsc/tsc.py
index 3130603..5807787 100755
--- a/client/tests/tsc/tsc.py
+++ b/client/tests/tsc/tsc.py
@@ -3,11 +3,10 @@
from autotest_lib.client.common_lib import utils
class tsc(test.test):
- version = 1
+ version = 2
+ preserve_srcdir = True
- def setup(self, tarball = 'checktsc.tar'):
- tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
- autotest_utils.extract_tarball_to_dir(tarball, self.srcdir)
+ def setup(self):
os.chdir(self.srcdir)
utils.system('make')
@@ -16,5 +15,5 @@
self.job.require_gcc()
- def run_once(self, args = ''):
+ def run_once(self, args = '-t 650'):
utils.system(self.srcdir + '/checktsc ' + args)