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

Unified Diff: client/tests/netperf2/netperf2.py

Issue 661240: Adding the dependencies for mpstat, which is part of the sysstat package. (Closed)
Patch Set: netperf2.py changes Created 10 years, 10 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/sysstat/sysstat-9.0.6.tar.gz ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/netperf2/netperf2.py
diff --git a/client/tests/netperf2/netperf2.py b/client/tests/netperf2/netperf2.py
index f8857c2da509eb50662dcb2e9286a4708badd8c2..6f283f8d076c5fc27ea6ac886ed7805b6229e0f7 100644
--- a/client/tests/netperf2/netperf2.py
+++ b/client/tests/netperf2/netperf2.py
@@ -7,7 +7,7 @@ MPSTAT_IX = 0
NETPERF_IX = 1
class netperf2(test.test):
- version = 3
+ version = 4
# ftp://ftp.netperf.org/netperf/netperf-2.4.4.tar.gz
def setup(self, tarball = 'netperf-2.4.4.tar.gz'):
@@ -25,6 +25,8 @@ class netperf2(test.test):
utils.system('make')
utils.system('sync')
+ self.job.setup_dep(['sysstat'])
+
def initialize(self):
self.server_prog = '%s&' % os.path.join(self.srcdir, 'src/netserver')
@@ -145,6 +147,9 @@ class netperf2(test.test):
def client(self, server_ip, test, test_time, num_streams,
test_specific_args, cpu_affinity):
args = '-H %s -t %s -l %d' % (server_ip, test, test_time)
+
+ mpstat = os.path.join(self.autodir + 'deps/sysstat/mpstat')
+
if self.wait_time:
args += ' -s %d ' % self.wait_time
« no previous file with comments | « client/deps/sysstat/sysstat-9.0.6.tar.gz ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698