diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:48:23 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:48:23 +0200 |
commit | 1b6242fc583a6b871304fb995af6dc211b58f69b (patch) | |
tree | b5d434d90dedae24792906aa304897c23a134386 /recipes-networking/dpdk/files/runtest.patch | |
download | meta-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.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) | ||