Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
3915dc69
Commit
3915dc69
authored
Jul 12, 2005
by
Thomas Vander Stichele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re-enable leak checking :)
Original commit message from CVS: re-enable leak checking :)
parent
cf6ce7f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
48 deletions
+6
-48
check/Makefile.am
check/Makefile.am
+3
-24
tests/check/Makefile.am
tests/check/Makefile.am
+3
-24
No files found.
check/Makefile.am
View file @
3915dc69
...
...
@@ -75,7 +75,8 @@ gst_libs_gdp_CFLAGS = $(AM_CFLAGS) -DGST_ENABLE_NEW
# these just need fixing, period
TESTS_TO_FIX
=
\
gst/gstghostpad
\
gst/gstiterator
\
gst/gstiterator
\
gst/gstmessage
\
gst/gstsystemclock
\
gst/gsttag
\
pipelines/cleanup
\
...
...
@@ -105,7 +106,7 @@ endif
@
$(TESTS_ENVIRONMENT)
\
libtool
--mode
=
execute
\
$(VALGRIND_PATH)
-q
--suppressions
=
$(srcdir)
/gst.supp
\
--tool
=
memcheck
--trace-children
=
yes
\
--tool
=
memcheck
--leak-check
=
yes
--trace-children
=
yes
\
$*
# valgrind all tests
...
...
@@ -124,25 +125,3 @@ valgrind: $(TESTS)
echo
"
$$
failed tests had leaks under valgrind"
;
\
false
;
\
fi
valgrindy
:
$(TESTS)
@
echo
"Valgrinding tests ..."
$(TESTS_ENVIRONMENT)
$(top_builddir)
/tools/gst-register
@
failed
=
0
;
\
for
t
in
$(
filter-out
$(VALGRIND_TESTS_DISABLE)
,
$(TESTS)
)
;
do
\
$(TESTS_ENVIRONMENT)
\
libtool
--mode
=
execute
\
$(VALGRIND_PATH)
-q
--suppressions
=
$(srcdir)
/gst.supp
\
--tool
=
memcheck
--trace-children
=
yes
\
$$
t
;
\
if
test
"
$$
?"
-ne
0
;
then
\
echo
"Valgrind error for test
$$
t"
;
\
failed
=
`
expr
$$
failed + 1
`
;
\
fi
;
\
done
;
\
if
test
"
$$
failed"
-ne
0
;
then
\
echo
"
$$
failed tests had leaks under valgrind"
;
\
false
;
\
fi
tests/check/Makefile.am
View file @
3915dc69
...
...
@@ -75,7 +75,8 @@ gst_libs_gdp_CFLAGS = $(AM_CFLAGS) -DGST_ENABLE_NEW
# these just need fixing, period
TESTS_TO_FIX
=
\
gst/gstghostpad
\
gst/gstiterator
\
gst/gstiterator
\
gst/gstmessage
\
gst/gstsystemclock
\
gst/gsttag
\
pipelines/cleanup
\
...
...
@@ -105,7 +106,7 @@ endif
@
$(TESTS_ENVIRONMENT)
\
libtool
--mode
=
execute
\
$(VALGRIND_PATH)
-q
--suppressions
=
$(srcdir)
/gst.supp
\
--tool
=
memcheck
--trace-children
=
yes
\
--tool
=
memcheck
--leak-check
=
yes
--trace-children
=
yes
\
$*
# valgrind all tests
...
...
@@ -124,25 +125,3 @@ valgrind: $(TESTS)
echo
"
$$
failed tests had leaks under valgrind"
;
\
false
;
\
fi
valgrindy
:
$(TESTS)
@
echo
"Valgrinding tests ..."
$(TESTS_ENVIRONMENT)
$(top_builddir)
/tools/gst-register
@
failed
=
0
;
\
for
t
in
$(
filter-out
$(VALGRIND_TESTS_DISABLE)
,
$(TESTS)
)
;
do
\
$(TESTS_ENVIRONMENT)
\
libtool
--mode
=
execute
\
$(VALGRIND_PATH)
-q
--suppressions
=
$(srcdir)
/gst.supp
\
--tool
=
memcheck
--trace-children
=
yes
\
$$
t
;
\
if
test
"
$$
?"
-ne
0
;
then
\
echo
"Valgrind error for test
$$
t"
;
\
failed
=
`
expr
$$
failed + 1
`
;
\
fi
;
\
done
;
\
if
test
"
$$
failed"
-ne
0
;
then
\
echo
"
$$
failed tests had leaks under valgrind"
;
\
false
;
\
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment