| OLD | NEW |
| 1 # Copyright 2010 Google Inc. Released under the GPL v2 | 1 # Copyright 2010 Google Inc. Released under the GPL v2 |
| 2 # | 2 # |
| 3 # Eric Li <ericli@google.com> | 3 # Eric Li <ericli@google.com> |
| 4 | 4 |
| 5 import logging, os, pickle, re, sys | 5 import logging, os, pickle, re, sys |
| 6 import common | 6 import common |
| 7 from autotest_lib.client.bin import setup_job as client_setup_job | 7 from autotest_lib.client.bin import setup_job as client_setup_job |
| 8 | 8 |
| 9 | 9 |
| 10 def touch_init(parent_dir, child_dir): | 10 def touch_init(parent_dir, child_dir): |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 @param autotest_client_dir: The autotest/client base directory. | 54 @param autotest_client_dir: The autotest/client base directory. |
| 55 @param client_test_dir: The actual test directory under client. | 55 @param client_test_dir: The actual test directory under client. |
| 56 """ | 56 """ |
| 57 | 57 |
| 58 os.environ['AUTODIR'] = autotest_client_dir | 58 os.environ['AUTODIR'] = autotest_client_dir |
| 59 touch_init(autotest_client_dir, client_test_dir) | 59 touch_init(autotest_client_dir, client_test_dir) |
| 60 | 60 |
| 61 # instantiate a client_test instance. | 61 # instantiate a client_test instance. |
| 62 client_test = init_test(client_test_dir) | 62 client_test = init_test(client_test_dir) |
| 63 client_setup_job.setup_test(client_test) | 63 client_setup_job.setup_test(client_test) |
| 64 |
| OLD | NEW |