mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 07:26:29 +00:00
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:
parent
05ff22f68c
commit
fdca1e654d
3 changed files with 9 additions and 3 deletions
|
@ -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>
|
2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* scripts/cvs-update.sh:
|
* scripts/cvs-update.sh:
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_VALGRIND
|
#ifdef HAVE_VALGRIND_H
|
||||||
# include <valgrind/valgrind.h>
|
# include <valgrind/valgrind.h>
|
||||||
#else
|
#else
|
||||||
# define RUNNING_ON_VALGRIND FALSE
|
# define RUNNING_ON_VALGRIND FALSE
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_VALGRIND
|
#ifdef HAVE_VALGRIND_H
|
||||||
# include <valgrind/valgrind.h>
|
# include <valgrind/valgrind.h>
|
||||||
# include <valgrind/memcheck.h>
|
# include <valgrind/memcheck.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -340,7 +340,7 @@ GST_START_TEST (leaking_fail_pipes)
|
||||||
g_print ("Trying pipe: %s\n", *s);
|
g_print ("Trying pipe: %s\n", *s);
|
||||||
expected_fail_pipe (*s);
|
expected_fail_pipe (*s);
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_VALGRIND
|
#ifdef HAVE_VALGRIND_H
|
||||||
VALGRIND_DO_LEAK_CHECK;
|
VALGRIND_DO_LEAK_CHECK;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue