提交 40d70d4d 编写于 作者: N Nícolas F. R. A. Prado 提交者: Shuah Khan

selftests: cpufreq: Write test output to stdout as well

Use 'tee' to send the test output to stdout in addition to the current
output file. This makes the output easier to handle in automated test
systems and is superior to only later dumping the output file contents
to stdout, since this way the test output can be interleaved with other
log messages, like from the kernel, so that chronology is preserved,
making it easier to detect issues.
Signed-off-by: NNícolas F. R. A. Prado <nfraprado@collabora.com>
Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NShuah Khan <skhan@linuxfoundation.org>
上级 f034cc13
...@@ -194,5 +194,5 @@ prerequisite ...@@ -194,5 +194,5 @@ prerequisite
# Run requested functions # Run requested functions
clear_dumps $OUTFILE clear_dumps $OUTFILE
do_test >> $OUTFILE.txt do_test | tee -a $OUTFILE.txt
dmesg_dumps $OUTFILE dmesg_dumps $OUTFILE
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册