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

Unified Diff: chrome/test/functional/tracing/pyauto_tracing.py

Issue 10736055: Smoke test for tracing infrastructure in PyAuto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix up style issues. Add suite to PYAUTO_TESTS Created 8 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
Index: chrome/test/functional/tracing/pyauto_tracing.py
diff --git a/chrome/test/functional/tracing/pyauto_tracing.py b/chrome/test/functional/tracing/pyauto_tracing.py
new file mode 100644
index 0000000000000000000000000000000000000000..a009657571dd48045d45a54289a61b22d63fb804
--- /dev/null
+++ b/chrome/test/functional/tracing/pyauto_tracing.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+# Copyright (c) 2012 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
+
+def _SetupPaths():
+ """Setting path to find pyauto_functional.py."""
+ tracing_dir = os.path.abspath(os.path.dirname(__file__))
+ sys.path.append(tracing_dir)
+ sys.path.append(os.path.normpath(os.path.join(tracing_dir, os.pardir)))
+
+_SetupPaths()
+
+
+from pyauto_functional import Main
+
+
+if __name__ == '__main__':
+ Main()

Powered by Google App Engine
This is Rietveld 408576698