Home | History | Annotate | Download | only in touchpad-tests
      1 # Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 import logging
      6 import os
      7 
      8 # Setup autotest_lib path by importing common.
      9 import common
     10 from autotest_lib.client.bin import utils
     11 
     12 
     13 version = 1
     14 
     15 
     16 def setup(setup_dir):
     17     """Stores a copy of the chromite cbuildbot source code for use on a DUT.
     18 
     19     @param setup_dir: the target directory
     20 
     21     """
     22     logging.info('setup(%s)', setup_dir)
     23 
     24 pwd = os.getcwd()
     25 utils.update_version(os.getcwd(), True, version, setup, pwd)
     26