diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/0001-adjust-path-filter-for-2-memcheck-tests.patch')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/0001-adjust-path-filter-for-2-memcheck-tests.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-adjust-path-filter-for-2-memcheck-tests.patch b/meta/recipes-devtools/valgrind/valgrind/0001-adjust-path-filter-for-2-memcheck-tests.patch new file mode 100644 index 0000000000..4bc4bb086c --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/0001-adjust-path-filter-for-2-memcheck-tests.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From bf63e35c3036e6040c8cfecabc7160b1f36b0591 Mon Sep 17 00:00:00 2001 | ||
2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
3 | Date: Wed, 28 Aug 2019 12:31:15 -0400 | ||
4 | Subject: [PATCH] adjust path filter for 2 memcheck tests | ||
5 | |||
6 | Test executables produced when cross-compiling can contain | ||
7 | relative paths such as: | ||
8 | coregrind/tests/../../../valgrind-3.15.0/coregrind/ | ||
9 | Use the --fullpath-after option to match and therefore | ||
10 | suppress more of the prefix to enable test to pass. | ||
11 | |||
12 | Upstream-Status: Inappropriate [embedded specific] | ||
13 | |||
14 | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
15 | --- | ||
16 | memcheck/tests/badfree3.vgtest | 2 +- | ||
17 | memcheck/tests/varinfo5.vgtest | 2 +- | ||
18 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
19 | |||
20 | diff --git a/memcheck/tests/badfree3.vgtest b/memcheck/tests/badfree3.vgtest | ||
21 | index 3dfc5fd8a..57eec21f3 100644 | ||
22 | --- a/memcheck/tests/badfree3.vgtest | ||
23 | +++ b/memcheck/tests/badfree3.vgtest | ||
24 | @@ -1,3 +1,3 @@ | ||
25 | prog: badfree | ||
26 | -vgopts: -q --fullpath-after=memcheck/ --fullpath-after=coregrind/ | ||
27 | +vgopts: -q --fullpath-after=/valgrind-3.15.0/memcheck/ --fullpath-after=/valgrind-3.15.0/coregrind/ | ||
28 | stderr_filter_args: badfree.c | ||
29 | diff --git a/memcheck/tests/varinfo5.vgtest b/memcheck/tests/varinfo5.vgtest | ||
30 | index 063d00dce..6907bb2f6 100644 | ||
31 | --- a/memcheck/tests/varinfo5.vgtest | ||
32 | +++ b/memcheck/tests/varinfo5.vgtest | ||
33 | @@ -1,3 +1,3 @@ | ||
34 | prog: varinfo5 | ||
35 | -vgopts: --fullpath-after=memcheck/ --fullpath-after=coregrind/ --read-var-info=yes --read-inline-info=yes -q | ||
36 | +vgopts: --fullpath-after=/valgrind-3.15.0/memcheck/ --fullpath-after=/valgrind-3.15.0/coregrind/ --read-var-info=yes --read-inline-info=yes -q | ||
37 | stderr_filter: filter_varinfo3 | ||
38 | -- | ||
39 | 2.22.0 | ||
40 | |||