~ubuntu-branches/ubuntu/trusty/gst-plugins-base1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to common/check.mak

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-09-24 16:24:47 UTC
  • mfrom: (1.1.18) (17.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20130924162447-0s1qfyjlaswtp1jg
* New upstream stable release:
  + debian/rules,
    debian/build-deps.in:
    - Build-depend on GStreamer >= 1.2.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        $(VALGRIND_PATH) -q                                     \
54
54
        $(foreach s,$(SUPPRESSIONS),--suppressions=$(s))        \
55
55
        --tool=memcheck --leak-check=full --trace-children=yes  \
 
56
        --show-possibly-lost=no                                 \
56
57
        --leak-resolution=high --num-callers=20                 \
57
58
        ./$* 2>&1 | tee valgrind.log
58
59
        @if grep "==" valgrind.log > /dev/null 2>&1; then       \
60
61
            exit 1;                                             \
61
62
        fi
62
63
        @rm valgrind.log
63
 
        
 
64
 
64
65
# valgrind any given test and generate suppressions for it
65
66
%.valgrind.gen-suppressions: %
66
67
        @$(TESTS_ENVIRONMENT)                                   \
70
71
        $(VALGRIND_PATH) -q                                     \
71
72
        $(foreach s,$(SUPPRESSIONS),--suppressions=$(s))        \
72
73
        --tool=memcheck --leak-check=full --trace-children=yes  \
 
74
        --show-possibly-lost=no                                 \
73
75
        --leak-resolution=high --num-callers=20                 \
74
76
        --gen-suppressions=all                                  \
75
77
        ./$* 2>&1 | tee suppressions.log
76
 
        
 
78
 
77
79
# valgrind torture any given test
78
80
%.valgrind-torture: %
79
81
        @for i in `seq 1 $(LOOPS)`; do                          \