From 4bb4024b395f19d36ab3569e2773ea80d8cc5261 Mon Sep 17 00:00:00 2001 From: Jackie Huang 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 --- testing/RUNTESTS | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/testing/RUNTESTS b/testing/RUNTESTS index e11c969..fb90f76 100755 --- a/testing/RUNTESTS +++ b/testing/RUNTESTS @@ -25,13 +25,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 -- 1.7.1