blob: 264580492af361c3b687fcc9283b4e2295b531af [file] [log] [blame]
#!/usr/bin/env python
# Copyright 2017 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.
from __future__ import print_function
import os
import subprocess
import sys
_TELEMETRY_BIN_DIR = os.path.abspath(
os.path.join(os.path.dirname(__file__), '..', 'telemetry', 'bin'))
def main(args):
print('Fetching Telemetry dependencies...')
os.path.join(_TELEMETRY_BIN_DIR, 'fetch_telemetry_binary_dependencies')])
print('Done fetching Telemetry dependencies.')
print('Running Telemetry tests...')
[sys.executable, os.path.join(_TELEMETRY_BIN_DIR, 'run_tests')] + args)
if __name__ == '__main__':