summaryrefslogtreecommitdiffstats
path: root/recipes-networking/dpdk/files/runtest.patch
blob: 0432fb7239f0b369f7748584a4cb6ec5913d071c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Adapt test output.

Signed-off-by: Costin Popescu <costin.popescu@enea.com>
Upstream-Status: Pending

diff --git a/app/test/autotest_runner.py b/app/test/autotest_runner.py
index af225ff..33b776a 100644
--- a/app/test/autotest_runner.py
+++ b/app/test/autotest_runner.py
@@ -267,6 +267,10 @@ class AutotestRunner:
 			# if test failed and it wasn't a "start" test
 			if test_result < 0 and not i == 0:
 				self.fails += 1
+			if test_result < 0:
+				print "FAIL: %s" % test_name
+			else:
+				print "PASS: %s" % test_name
 		
 			# collect logs
 			self.log_buffers.append(log)