diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind')
4 files changed, 12 insertions, 3 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch b/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch index 7985308e41..0c399ef52c 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch | |||
@@ -19,6 +19,11 @@ Upstream-Status: Pending | |||
19 | Signed-off-by: Dave Lerner <dave.lerner@windriver.com> | 19 | Signed-off-by: Dave Lerner <dave.lerner@windriver.com> |
20 | Signed-off-by: Tudor Florea <tudor.florea@enea.com> | 20 | Signed-off-by: Tudor Florea <tudor.florea@enea.com> |
21 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 21 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
22 | |||
23 | Increase time limit to 90 s. | ||
24 | (double of the expected time of drd/tests/std_list on qemuarm64) | ||
25 | |||
26 | Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> | ||
22 | --- | 27 | --- |
23 | tests/vg_regtest.in | 75 +++++++++++++++++++++++++++++++++++++++-------------- | 28 | tests/vg_regtest.in | 75 +++++++++++++++++++++++++++++++++++++++-------------- |
24 | 1 file changed, 55 insertions(+), 20 deletions(-) | 29 | 1 file changed, 55 insertions(+), 20 deletions(-) |
@@ -66,7 +71,7 @@ index a441f42..cb05b52 100755 | |||
66 | # Since most of the program time is spent in system() calls, need this to | 71 | # Since most of the program time is spent in system() calls, need this to |
67 | # propagate a Ctrl-C enabling us to quit. | 72 | # propagate a Ctrl-C enabling us to quit. |
68 | -sub mysystem($) | 73 | -sub mysystem($) |
69 | +# Enforce 30 seconds limit for the test. | 74 | +# Enforce 90 seconds limit for the test. |
70 | +# This resume execution of the remaining tests if valgrind hangs. | 75 | +# This resume execution of the remaining tests if valgrind hangs. |
71 | +sub mysystem($) | 76 | +sub mysystem($) |
72 | { | 77 | { |
@@ -76,7 +81,7 @@ index a441f42..cb05b52 100755 | |||
76 | + my $exit_code=0; | 81 | + my $exit_code=0; |
77 | + eval { | 82 | + eval { |
78 | + local $SIG{'ALRM'} = sub { die "timed out\n" }; | 83 | + local $SIG{'ALRM'} = sub { die "timed out\n" }; |
79 | + alarm(30); | 84 | + alarm(90); |
80 | + $exit_code = system($_[0]); | 85 | + $exit_code = system($_[0]); |
81 | + alarm (0); | 86 | + alarm (0); |
82 | + ($exit_code == 2) and die "SIGINT\n"; # 2 is SIGINT | 87 | + ($exit_code == 2) and die "SIGINT\n"; # 2 is SIGINT |
diff --git a/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64 b/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64 index 93bfd45a4e..afa6a94825 100644 --- a/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64 +++ b/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64 | |||
@@ -120,6 +120,7 @@ drd/tests/tc19_shadowmem | |||
120 | drd/tests/tc21_pthonce | 120 | drd/tests/tc21_pthonce |
121 | drd/tests/tc22_exit_w_lock | 121 | drd/tests/tc22_exit_w_lock |
122 | drd/tests/tc23_bogus_condwait | 122 | drd/tests/tc23_bogus_condwait |
123 | gdbserver_tests/hginfo | ||
123 | helgrind/tests/annotate_rwlock | 124 | helgrind/tests/annotate_rwlock |
124 | helgrind/tests/annotate_smart_pointer | 125 | helgrind/tests/annotate_smart_pointer |
125 | helgrind/tests/bar_bad | 126 | helgrind/tests/bar_bad |
diff --git a/meta/recipes-devtools/valgrind/valgrind/remove-for-all b/meta/recipes-devtools/valgrind/valgrind/remove-for-all index d6a85c4735..88a11ca332 100644 --- a/meta/recipes-devtools/valgrind/valgrind/remove-for-all +++ b/meta/recipes-devtools/valgrind/valgrind/remove-for-all | |||
@@ -1,2 +1,4 @@ | |||
1 | drd/tests/bar_bad | 1 | drd/tests/bar_bad |
2 | drd/tests/bar_bad_xml | 2 | drd/tests/bar_bad_xml |
3 | gdbserver_tests/hginfo | ||
4 | memcheck/tests/linux/timerfd-syscall | ||
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb index e16a58fc62..67999e579a 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb | |||
@@ -1,5 +1,6 @@ | |||
1 | SUMMARY = "Valgrind memory debugger and instrumentation framework" | 1 | SUMMARY = "Valgrind memory debugger and instrumentation framework" |
2 | HOMEPAGE = "http://valgrind.org/" | 2 | HOMEPAGE = "http://valgrind.org/" |
3 | DESCRIPTION = "Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail." | ||
3 | BUGTRACKER = "http://valgrind.org/support/bug_reports.html" | 4 | BUGTRACKER = "http://valgrind.org/support/bug_reports.html" |
4 | LICENSE = "GPLv2 & GPLv2+ & BSD" | 5 | LICENSE = "GPLv2 & GPLv2+ & BSD" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
@@ -106,7 +107,7 @@ VALGRINDARCH_mipsel = "mips32" | |||
106 | VALGRINDARCH_mips64el = "mips64" | 107 | VALGRINDARCH_mips64el = "mips64" |
107 | VALGRINDARCH_powerpc = "ppc" | 108 | VALGRINDARCH_powerpc = "ppc" |
108 | VALGRINDARCH_powerpc64 = "ppc64" | 109 | VALGRINDARCH_powerpc64 = "ppc64" |
109 | VALGRINDARCH_powerpc64el = "ppc64le" | 110 | VALGRINDARCH_powerpc64le = "ppc64le" |
110 | 111 | ||
111 | INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/valgrind/vgpreload_memcheck-${VALGRINDARCH}-linux.so" | 112 | INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/valgrind/vgpreload_memcheck-${VALGRINDARCH}-linux.so" |
112 | 113 | ||