| Index: client/deps/chrome_test/chrome_test.py
|
| diff --git a/client/deps/chrome_test/chrome_test.py b/client/deps/chrome_test/chrome_test.py
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..411a7ae73b928195103dd86f45a8be9288fbca4c
|
| --- /dev/null
|
| +++ b/client/deps/chrome_test/chrome_test.py
|
| @@ -0,0 +1,21 @@
|
| +#!/usr/bin/python
|
| +
|
| +# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import common, commands, logging, os
|
| +from autotest_lib.client.bin import utils
|
| +
|
| +version = 1
|
| +
|
| +def setup(top_dir):
|
| + chrome_test_files = os.environ['SYSROOT'] + '/usr/local/autotest-chrome'
|
| + logging.info('Configuring chrome test resources in %s' % top_dir)
|
| + testsrc_dir = top_dir + '/test_src'
|
| +
|
| + # Copy test build outputs.
|
| + utils.run('cp -r %s %s' % (chrome_test_files, testsrc_dir))
|
| +
|
| +pwd = os.getcwd()
|
| +utils.update_version(pwd + '/src', False, version, setup, pwd)
|
|
|