From 4bb4024b395f19d36ab3569e2773ea80d8cc5261 Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.huang@windriver.com>
Date: Wed, 14 Jan 2015 15:10:06 +0800
Subject: [PATCH] testing: add the output format for ptest

Upstream-Status: Inappropriate [OE specific]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 testing/RUNTESTS |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Index: net-snmp-5.7.3/testing/RUNTESTS
===================================================================
--- net-snmp-5.7.3.orig/testing/RUNTESTS
+++ net-snmp-5.7.3/testing/RUNTESTS
@@ -29,13 +29,17 @@ failed_count=0
 rm -f failed_tests
 for i in "${srcdir}"/testing/fulltests/default/T*$1*; do
     echo "RUNNING $i"
+    test_name=`basename $i`
     ${srcdir}/testing/fulltests/support/simple_run $i
     if [ $? = 0 ]; then
+        echo "PASS: $test_name"
         success_count=`expr $success_count + 1`
     else
+        echo "FAIL: $test_name"
         failed_count=`expr $failed_count + 1`
         echo "$i" >> failed_tests
     fi
+    echo
 done
 
 if [ -f failed_tests ]; then
