tests/check/: Use HAVE_VALGRIND_H some more.

Original commit message from CVS:
* tests/check/gst/gstbuffer.c:
* tests/check/pipelines/parse-launch.c:
Use HAVE_VALGRIND_H some more.
This commit is contained in:
Thomas Vander Stichele 2008-06-20 21:08:47 +00:00
parent 05ff22f68c
commit fdca1e654d
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
* tests/check/gst/gstbuffer.c:
* tests/check/pipelines/parse-launch.c:
Use HAVE_VALGRIND_H some more.
2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
* scripts/cvs-update.sh:

View file

@ -24,7 +24,7 @@
# include "config.h"
#endif
#ifdef HAVE_VALGRIND
#ifdef HAVE_VALGRIND_H
# include <valgrind/valgrind.h>
#else
# define RUNNING_ON_VALGRIND FALSE

View file

@ -22,7 +22,7 @@
# include "config.h"
#endif
#ifdef HAVE_VALGRIND
#ifdef HAVE_VALGRIND_H
# include <valgrind/valgrind.h>
# include <valgrind/memcheck.h>
#endif
@ -340,7 +340,7 @@ GST_START_TEST (leaking_fail_pipes)
g_print ("Trying pipe: %s\n", *s);
expected_fail_pipe (*s);
#endif
#ifdef HAVE_VALGRIND
#ifdef HAVE_VALGRIND_H
VALGRIND_DO_LEAK_CHECK;
#endif
}