diff options
Diffstat (limited to 'recipes-networking/dpdk/files/runtest.patch')
-rw-r--r-- | recipes-networking/dpdk/files/runtest.patch | 20 |
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 @@ | |||
1 | Adapt test output. | ||
2 | |||
3 | Signed-off-by: Costin Popescu <costin.popescu@enea.com> | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | diff --git a/app/test/autotest_runner.py b/app/test/autotest_runner.py | ||
7 | index 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) | ||