diff options
author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2019-05-13 23:57:15 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-15 17:53:29 +0100 |
commit | 5ee06716de105456911419fb33031783c3cf8643 (patch) | |
tree | b8006fd25ca7354c60c38f562133680523515572 /meta/recipes-devtools/valgrind/valgrind/0002-valgrind-adjust-std_list-expected-output.patch | |
parent | ac087b259e78163863ca35bfe150ee297aa8ff5b (diff) | |
download | poky-5ee06716de105456911419fb33031783c3cf8643.tar.gz |
valgrind: adjust test filters and expected output
Skip two filters in filter_xml_frames since they
are intended to filter filesystem paths under '/usr' that
vary from platform to platform. In the ptest case
for Yocto's valgrind, the ptest executables are placed under:
/usr/lib/valgrind/ptest
and if these frames are filtered out, then several 'drd' tests fail
the comparision between expected and actual output.
Also adjust the std_list expected output to agree with that
produced when the --yocto-ptest option to vg_regtest is used.
(From OE-Core rev: 38cc663b69ec96ae1470f040f7dcb05e816deb2e)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/0002-valgrind-adjust-std_list-expected-output.patch')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/0002-valgrind-adjust-std_list-expected-output.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0002-valgrind-adjust-std_list-expected-output.patch b/meta/recipes-devtools/valgrind/valgrind/0002-valgrind-adjust-std_list-expected-output.patch new file mode 100644 index 0000000000..a82972ec1b --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/0002-valgrind-adjust-std_list-expected-output.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 6e1e9265b03cf51d09c028d657fe826d7156a783 Mon Sep 17 00:00:00 2001 | ||
2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
3 | Date: Mon, 13 May 2019 17:26:26 -0400 | ||
4 | Subject: [PATCH 2/2] valgrind: adjust std_list expected output | ||
5 | |||
6 | The run-ptest script uses a custom --yocto-ptest option | ||
7 | to change the summary statistics that valgrind issues | ||
8 | to a format that matches what ptest-runner expects. | ||
9 | |||
10 | Only this std_list test which checks that strcpy() works | ||
11 | properly on Ubuntu-12.04 and later is affected by this change. | ||
12 | It's normal output when called with --yocto-ptest is a blank | ||
13 | line so adjust the expected output. | ||
14 | |||
15 | Upstream-Status: Inappropriate [Yocto specific] | ||
16 | |||
17 | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
18 | --- | ||
19 | drd/tests/std_list.stderr.exp | 2 -- | ||
20 | 1 file changed, 2 deletions(-) | ||
21 | |||
22 | diff --git a/drd/tests/std_list.stderr.exp b/drd/tests/std_list.stderr.exp | ||
23 | index d18786f80..8b1378917 100644 | ||
24 | --- a/drd/tests/std_list.stderr.exp | ||
25 | +++ b/drd/tests/std_list.stderr.exp | ||
26 | @@ -1,3 +1 @@ | ||
27 | |||
28 | - | ||
29 | -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) | ||
30 | -- | ||
31 | 2.17.0 | ||
32 | |||