Re: [RFC PATCH v2 4/4] ftracetest: Add XFAIL/XPASS/UNSUPPORTED as result code

From: Masami Hiramatsu
Date: Mon Sep 01 2014 - 07:24:12 EST


(2014/08/26 20:15), Masami Hiramatsu wrote:
> @@ -132,11 +163,9 @@ run_test() { # testfile
> echo "execute: "$1 > $testlog
> (cd $TRACING_DIR; set -x ; source $t) >> $testlog 2>&1
> ret=$?
> - if [ $ret -ne 0 ]; then
> - failed
> - catlog $testlog
> - else
> - passed
> + eval_result $ret $testlog
> + if [ $? -eq 0 ]; then
> + # Remove test log if the test was done as it was expected.
> [ $KEEP_LOG -eq 0 ] && rm $testlog
> fi

Oops, I missed to print out the logs for failed tests here.
It should be output.

Thank you,

--
Masami HIRAMATSU
IT Management Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@xxxxxxxxxxx


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/