This is an automated email from the git hooks/post-receive script. jforbes pushed a commit to branch master in repository kernel-tests. commit db39ba80aec64fffa96fc74f0982d900c5f3788d Author: Justin M. Forbes <jforbes@xxxxxxxxxx> Date: Wed Dec 11 11:22:41 2013 -0600 Logfile reformatting for better reporting --- runtests.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/runtests.sh b/runtests.sh index 299ab92..b3f7de0 100755 --- a/runtests.sh +++ b/runtests.sh @@ -6,6 +6,7 @@ logfile=$topdir/logs/kernel-test-$date.log verbose=n testset=default cleanrun=PASS +failedtests=None kver=$(uname -r) release=$(cat /etc/redhat-release) @@ -80,6 +81,7 @@ echo "Date: $(date)" > $logfile echo "Test set: $testset" >> $logfile echo "Kernel: $kver" >> $logfile echo "Release: $release" >> $logfile +echo "Result: RESULTHOLDER" >> $logfile echo "============================================================" >>$logfile @@ -115,12 +117,20 @@ do printf "%-65s%-8s\n" "$testname" "$result" if [ "$result" == "FAIL" ]; then cleanrun=FAIL + if [ "$failedtests" == "None" ]; then + failedtests="$testname" + else + failedtests="$failedtests $testname" + fi fi fi popd &>/dev/null done done +# Fix up logfile headers +sed -i "s,RESULTHOLDER,$cleanrun\nFailed Tests: $failedtests,g" $logfile + if [ "$cleanrun" == "FAIL" ]; then printf "\n%-65s%-8s\n" "Test suite complete" "$cleanrun" exit 1 -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx