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

Unified Diff: client/deps/gtest/gtest.py

Issue 1597001: [Test Fixit] Code coverage test example. (Closed)
Patch Set: More cleanup - changed handling of perf dictionary. Created 10 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 side-by-side diff with in-line comments
Download patch
Index: client/deps/gtest/gtest.py
diff --git a/client/deps/gtest/gtest.py b/client/deps/gtest/gtest.py
new file mode 100755
index 0000000000000000000000000000000000000000..86daf55b11ae3d0ba49d1b570b9471a9d2de1fb8
--- /dev/null
+++ b/client/deps/gtest/gtest.py
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+
+# Copyright (c) 2010 The Chromium OS 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 common, commands, logging, os, shutil
+from autotest_lib.client.bin import utils
+
+version = 1
+
+def setup(top_dir):
+ # The copy the gtest files from the SYSROOT to the client
+ usr_lib = os.environ['SYSROOT'] + '/usr/lib'
+ os.chdir(usr_lib)
+ utils.run('cp libgtest* ' + top_dir)
+
+pwd = os.getcwd()
+utils.update_version(pwd + '/src', False, version, setup, pwd)

Powered by Google App Engine
This is Rietveld 408576698