Skip to content

Commit

Permalink
Update autotest report headers
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
  • Loading branch information
Junjie Mao committed Sep 15, 2013
1 parent ad54246 commit deab5d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion autotest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi

# Dump results to stdout
echo "========================= SUMMARY =========================="
printf "%-20s%-10s%-10s%-10s%-10s\n" "" passed failed broken total
printf "%-8s%-20s%-20s%-10s%-10s\n" "" "passed(unexpected)" "failed(unexpected)" broken total
tail -n 1 $BUILD_DIR_I386/test-result.latest/summary
tail -n 1 $BUILD_DIR_ARM/test-result.latest/summary
tail -n 1 $BUILD_DIR_AMD64/test-result.latest/summary
Expand Down
4 changes: 2 additions & 2 deletions ucore/uCore_test
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ broken=`cat $BUILD_DIR/$BROKEN_COUNT_TMP | wc -m`
total=`cat $BUILD_DIR/$TOTAL_COUNT_TMP | wc -m`

echo "========== Test Summary ==========" >> $SUMMARY
printf "%-20s%-10s%-10s%-10s%-10s\n" "" passed failed broken total >> $SUMMARY
printf "%-20s%-10s%-10s%-10s%-10s\n" $UCONFIG_ARCH "$passed($passed_unexpected)" "$failed($failed_unexpected)" $broken $total >> $SUMMARY
printf "%-8s%-20s%-20s%-10s%-10s\n" "" "passed(unexpected)" "failed(unexpected)" broken total >> $SUMMARY
printf "%-8s%-20s%-20s%-10s%-10s\n" $UCONFIG_ARCH "$passed($passed_unexpected)" "$failed($failed_unexpected)" $broken $total >> $SUMMARY

rm -f $BUILD_DIR/$TOTAL_COUNT_TMP $BUILD_DIR/$PASSED_COUNT_TMP $BUILD_DIR/$FAILED_COUNT_TMP $BUILD_DIR/$BROKEN_COUNT_TMP
rm -f $BUILD_DIR/kernel.img.*
Expand Down

0 comments on commit deab5d9

Please sign in to comment.