summaryrefslogtreecommitdiffstats
path: root/recipes-networking/dpdk/files/runtest.patch
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2014-06-26 13:48:23 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2014-06-26 13:48:23 +0200
commit1b6242fc583a6b871304fb995af6dc211b58f69b (patch)
treeb5d434d90dedae24792906aa304897c23a134386 /recipes-networking/dpdk/files/runtest.patch
downloadmeta-ip-1b6242fc583a6b871304fb995af6dc211b58f69b.tar.gz
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-networking/dpdk/files/runtest.patch')
-rw-r--r--recipes-networking/dpdk/files/runtest.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-networking/dpdk/files/runtest.patch b/recipes-networking/dpdk/files/runtest.patch
new file mode 100644
index 0000000..0432fb7
--- /dev/null
+++ b/recipes-networking/dpdk/files/runtest.patch
@@ -0,0 +1,20 @@
1Adapt test output.
2
3Signed-off-by: Costin Popescu <costin.popescu@enea.com>
4Upstream-Status: Pending
5
6diff --git a/app/test/autotest_runner.py b/app/test/autotest_runner.py
7index af225ff..33b776a 100644
8--- a/app/test/autotest_runner.py
9+++ b/app/test/autotest_runner.py
10@@ -267,6 +267,10 @@ class AutotestRunner:
11 # if test failed and it wasn't a "start" test
12 if test_result < 0 and not i == 0:
13 self.fails += 1
14+ if test_result < 0:
15+ print "FAIL: %s" % test_name
16+ else:
17+ print "PASS: %s" % test_name
18
19 # collect logs
20 self.log_buffers.append(log)