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

Unified Diff: content/test/gpu/run_gpu_test

Issue 411143003: Add an "in_unit_test_mode" attribute to the environment. Use this to default output format to 'gtes… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New approach (a wrapper script). Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/telemetry/telemetry/results/results_options.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/run_gpu_test
diff --git a/content/test/gpu/run_gpu_test b/content/test/gpu/run_gpu_test
new file mode 100755
index 0000000000000000000000000000000000000000..2bb5e865e5bcec182c3c3e5a930f1b8555e9fdce
--- /dev/null
+++ b/content/test/gpu/run_gpu_test
@@ -0,0 +1,15 @@
+#!/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 subprocess
+import sys
+
+if __name__ == '__main__':
+ path_to_script = os.path.dirname(os.path.abspath(__file__))
+ command_name = os.path.join(path_to_script, 'run_gpu_test.py')
+ command = [command_name, '--output-format=gtest']
+ command.extend(sys.argv[1:])
+ subprocess.call(command)
« no previous file with comments | « no previous file | tools/telemetry/telemetry/results/results_options.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698