blob: 8da9942b8a41bb60e198e978f8853ba4f62e2077 [file] [log] [blame]
#!/usr/bin/env python
# Copyright (c) 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Run self-tests within platform_tools/android/tests dir. """
import os
import sys
from build_step import BuildStep
from py.utils import shell_utils
class RunAndroidPlatformSelfTests(BuildStep):
def _Run(self):
shell_utils.run(['python', os.path.join(
'platform_tools', 'android', 'tests', 'run_all.py')])
if '__main__' == __name__:
sys.exit(BuildStep.RunBuildStep(RunAndroidPlatformSelfTests))