blob: 781a07356258f1ae19698a627ef973c11dc7ad5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/usr/bin/env python
# Copyright 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.
import os
import sys
"""This script runs unit tests for code in gpu_tests/ that does telemetry
performance measurement.
This script DOES NOT run benchmarks. run_gpu_tests does that.
"""
sys.path.append(os.path.join(os.path.dirname(__file__),
os.pardir, os.pardir, os.pardir, 'tools', 'telemetry'))
from telemetry.unittest import run_tests
if __name__ == '__main__':
base_dir = os.path.dirname(os.path.realpath(__file__))
run_tests.environment = run_tests.Environment(base_dir, [base_dir])
sys.exit(run_tests.RunTestsCommand.main())
|