summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr.py
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-02-25 10:52:49 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-03-15 13:05:59 -0300
commit097c87582c5719adbd8b700f4250e1f1d9f15ebf (patch)
treef80988db8e0ac71b8396412d45ee757b4bc440ff /tools/perf/tests/attr.py
parent66857b5a8bc61b0c5e7a9c96f02558ef6d4109c6 (diff)
downloadlinux-097c87582c5719adbd8b700f4250e1f1d9f15ebf.tar.gz
linux-097c87582c5719adbd8b700f4250e1f1d9f15ebf.tar.bz2
linux-097c87582c5719adbd8b700f4250e1f1d9f15ebf.zip
perf tests: Make attr script verbose friendly
Making the attr test script runner to pass proper verbose option. Also making single '-v' be more reader friendly and display just the test name. Making the current output to be display for '-vv'. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1361785972-7431-3-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr.py')
-rw-r--r--tools/perf/tests/attr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/tests/attr.py b/tools/perf/tests/attr.py
index 2f629ca485bc..e0ea51335e9c 100644
--- a/tools/perf/tests/attr.py
+++ b/tools/perf/tests/attr.py
@@ -121,7 +121,7 @@ class Test(object):
parser = ConfigParser.SafeConfigParser()
parser.read(path)
- log.debug("running '%s'" % path)
+ log.warning("running '%s'" % path)
self.path = path
self.test_dir = options.test_dir
@@ -172,7 +172,7 @@ class Test(object):
self.perf, self.command, tempdir, self.args)
ret = os.WEXITSTATUS(os.system(cmd))
- log.warning(" running '%s' ret %d " % (cmd, ret))
+ log.info(" '%s' ret %d " % (cmd, ret))
if ret != int(self.ret):
raise Unsup(self)