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

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

Issue 870005: Move gl_Bench into a dep so that it can be re-used among tests (Closed)
Patch Set: Created 10 years, 9 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 | « client/deps/glbench/control ('k') | client/deps/glbench/src.orig/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/glbench.py
diff --git a/client/deps/glbench/glbench.py b/client/deps/glbench/glbench.py
new file mode 100755
index 0000000000000000000000000000000000000000..501f3867fed2a391d103cfe9247fa46b1d39d1ef
--- /dev/null
+++ b/client/deps/glbench/glbench.py
@@ -0,0 +1,21 @@
+#!/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, os, shutil
+from autotest_lib.client.bin import utils
+
+version = 1
+
+def setup(topdir):
+ my_srcdir = os.path.join(topdir, 'src.orig')
+ srcdir = os.path.join(topdir, 'src')
+ shutil.move(my_srcdir, srcdir)
+ os.chdir(srcdir)
+ utils.system('make')
+ os.chdir(topdir)
+
+pwd = os.getcwd()
+utils.update_version(pwd + '/src', False, version, setup, pwd)
« no previous file with comments | « client/deps/glbench/control ('k') | client/deps/glbench/src.orig/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698