Ken Turner | db53ac7 | 2018-03-23 14:26:39 +1100 | [diff] [blame] | 1 | # Copyright 2018 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 | AUTHOR = "Chrome OS Team" |
| 6 | NAME = "ml_service" |
| 7 | PURPOSE = "Verify the ml_service lifecycle." |
| 8 | TIME = "SHORT" |
| 9 | TEST_CATEGORY = "General" |
| 10 | TEST_CLASS = "suite" |
| 11 | TEST_TYPE = "Server" |
| 12 | |
| 13 | DOC = """ |
| 14 | Tests the ml_service daemon start/stop and Mojo calls. |
| 15 | """ |
| 16 | |
| 17 | import common |
| 18 | from autotest_lib.server.cros import provision |
| 19 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 20 | |
| 21 | args_dict['add_experimental'] = True |
| 22 | args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX |
| 23 | args_dict['name'] = NAME |
| 24 | args_dict['job'] = job |
| 25 | |
| 26 | dynamic_suite.reimage_and_run(**args_dict) |