aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-02-27 12:49:44 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-02-27 12:49:44 +0100
commitdd9988944bedc475540d78b5fd03821f753eb16e (patch)
treed7ccd21bd5adad49a6c277184105e563ce616112
parentf38b6601751023babca2b7c85772fb56a13716af (diff)
downloadallocbench-dd9988944bedc475540d78b5fd03821f753eb16e.tar.gz
allocbench-dd9988944bedc475540d78b5fd03821f753eb16e.zip
don't print output of test ls call
-rw-r--r--src/benchmark.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index 4658e01..b766e9b 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -139,7 +139,8 @@ class Benchmark (object):
if self.measure_cmd == self.defaults["measure_cmd"]:
if self.perf_allowed == None:
res = subprocess.run(["perf", "stat", "ls"],
- stdout=None, stderr=subprocess.PIPE,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
universal_newlines=True)
if res.returncode != 0:
print("Test perf run failed with:")