Merge lp:~pete-woods/libqtdbustest/valgrind-present-1263925 into lp:libqtdbustest

Proposed by Pete Woods
Status: Merged
Approved by: Pete Woods
Approved revision: 30
Merged at revision: 29
Proposed branch: lp:~pete-woods/libqtdbustest/valgrind-present-1263925
Merge into: lp:libqtdbustest
Diff against target: 64 lines (+33/-2)
3 files modified
cmake/FindValgrind.cmake (+1/-1)
debian/control (+1/-1)
tests/data/valgrind.suppression (+31/-0)
To merge this branch: bzr merge lp:~pete-woods/libqtdbustest/valgrind-present-1263925
Reviewer Review Type Date Requested Status
Marcus Tomlinson (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Unity Team Pending
Review via email: mp+200296@code.launchpad.net

Commit message

Valgrind is not present on all architectures

Description of the change

Valgrind is not present on all architectures

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
30. By Pete Woods

Add supressions for i386 failures

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

CI is happy, I'm happy :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'cmake/FindValgrind.cmake'
--- cmake/FindValgrind.cmake 2013-08-01 15:17:32 +0000
+++ cmake/FindValgrind.cmake 2014-01-02 13:10:56 +0000
@@ -26,7 +26,7 @@
26)26)
2727
28function(add_valgrind_test NAME EXECUTABLE)28function(add_valgrind_test NAME EXECUTABLE)
29 if(ENABLE_MEMCHECK_OPTION)29 if(ENABLE_MEMCHECK_OPTION AND VALGRIND_PROGRAM)
30 add_test(${NAME} ${VALGRIND_PROGRAM} ${VALGRIND_PROGRAM_OPTIONS} "${CMAKE_CURRENT_BINARY_DIR}/${EXECUTABLE}")30 add_test(${NAME} ${VALGRIND_PROGRAM} ${VALGRIND_PROGRAM_OPTIONS} "${CMAKE_CURRENT_BINARY_DIR}/${EXECUTABLE}")
31 else()31 else()
32 add_test(${NAME} ${EXECUTABLE})32 add_test(${NAME} ${EXECUTABLE})
3333
=== modified file 'debian/control'
--- debian/control 2013-11-12 23:34:04 +0000
+++ debian/control 2014-01-02 13:10:56 +0000
@@ -8,7 +8,7 @@
8 google-mock (>= 1.6.0+svn437),8 google-mock (>= 1.6.0+svn437),
9 pkg-config,9 pkg-config,
10 qtbase5-dev,10 qtbase5-dev,
11 valgrind,11 valgrind [!arm64 !ppc64el],
12 python3-dbusmock,12 python3-dbusmock,
13 dbus,13 dbus,
14Standards-Version: 3.9.414Standards-Version: 3.9.4
1515
=== modified file 'tests/data/valgrind.suppression'
--- tests/data/valgrind.suppression 2013-08-07 11:09:23 +0000
+++ tests/data/valgrind.suppression 2014-01-02 13:10:56 +0000
@@ -25,3 +25,34 @@
25 ...25 ...
26 fun:g_main_context_new26 fun:g_main_context_new
27}27}
28
29{
30 False positive leak on strings in i386
31 Memcheck:Leak
32 fun:_Znwj
33 fun:_ZNSs4_Rep9_S_createEjjRKSaIcE
34 ...
35 fun:_ZN7testing14InitGoogleTestEPiPPc
36 fun:(below main)
37}
38
39{
40 False positive leak on strings on i386
41 Memcheck:Leak
42 fun:_Znwj
43 fun:_ZNSs4_Rep9_S_createEjjRKSaIcE
44 ...
45 fun:__libc_csu_init
46 fun:(below main)
47}
48
49{
50 Qt apparently has some statically allocated data here
51 Memcheck:Leak
52 fun:calloc
53 fun:allocate_dtv
54 fun:_ZN7QThread5startENS_8PriorityE
55 obj:/usr/lib/*/libQt5Core.so.*
56 ...
57 obj:*
58}

Subscribers

People subscribed via source and target branches

to all changes: