Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: content/test/gpu/run_gpu_stress_tests

Issue 11668013: Added GPU stress test with multiple tabs in one single window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moves tests to content/test/gpu. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5
6 """This script runs tests to verify that the GPU is working properly."""
7
5 import os 8 import os
6 import sys 9 import sys
7 10
11 import gpu_stress_tests
8 from telemetry.test import gtest_testrunner 12 from telemetry.test import gtest_testrunner
9 from telemetry.test import run_tests 13 from telemetry.test import run_tests
10 14
11 if __name__ == '__main__': 15 if __name__ == '__main__':
12 top_level_dir = os.path.abspath(os.path.dirname(__file__)) 16 top_level_dir = os.path.abspath(os.path.dirname(__file__))
13 runner = gtest_testrunner.GTestTestRunner(print_result_after_run=False) 17 runner = gtest_testrunner.GTestTestRunner(print_result_after_run=False)
14 start_dir = 'telemetry' 18 ret = run_tests.Main(sys.argv[1:], 'gpu_stress_tests', top_level_dir, runner)
15 ret = run_tests.Main(sys.argv[1:], start_dir, top_level_dir, runner)
16 19
17 if runner.result: 20 if runner.result:
18 runner.result.PrintSummary() 21 runner.result.PrintSummary()
19 sys.exit(min(ret + runner.result.num_errors, 255)) 22 sys.exit(min(ret + runner.result.num_errors, 255))
20 else: 23 else:
21 sys.exit(ret) 24 sys.exit(ret)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698