aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-testing-add-the-output-format-for-ptest.patch
blob: 807983f6127c2b2b4a97287ec10bdc1aa86f9620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 972df16e9599dffddf5d714a4cbf43008c771122 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 file changed, 4 insertions(+)

diff --git a/testing/RUNTESTS b/testing/RUNTESTS
index 6715831..a2b6fb8 100755
--- a/testing/RUNTESTS
+++ b/testing/RUNTESTS
@@ -17,13 +17,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