blob: 0ffcc24587cd57a7056ad8e08d307259b533559b [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 28eb06047ebd2deaa8c7cd2bf6655ef6a469dc14 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 15 Aug 2017 10:01:56 +0800
4Subject: [PATCH 1/2] Add FAIL/PASS output to test output.
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9Signed-off-by: Bjรถrn Stenberg <bjst@enea.com>
10Upstream-Status: Pending
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011
12Rebase to 4.4
13Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014---
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015 tests/run-all | 11 ++++++++++-
16 1 file changed, 10 insertions(+), 1 deletion(-)
17
18diff --git a/tests/run-all b/tests/run-all
19index 2882fe0..e21d026 100644
20--- a/tests/run-all
21+++ b/tests/run-all
22@@ -33,7 +33,16 @@ do
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023 case $x in
24 $0|run-minimal|run-gprof) ;;
25 *.orig|*~) ;;
Brad Bishopd7bf8c12018-02-25 22:55:05 -050026- *) echo $x ; sh $x ; rm -f ${BASH_TSTOUT} ;;
27+ *) echo $x
28+ output=`sh $x`
29+ if [ -n "$output" ]; then
30+ echo "$output"
31+ echo "FAIL: $x"
32+ else
33+ echo "PASS: $x"
34+ fi
35+ rm -f ${BASH_TSTOUT}
36+ ;;
Patrick Williamsc124f4f2015-09-15 14:41:29 -050037 esac
38 done
39
Brad Bishopd7bf8c12018-02-25 22:55:05 -050040--
411.8.3.1
42