tests/check/: Use HAVE_VALGRIND_H some more.
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 20 Jun 2008 21:08:47 +0000 (21:08 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 20 Jun 2008 21:08:47 +0000 (21:08 +0000)
Original commit message from CVS:
* tests/check/gst/gstbuffer.c:
* tests/check/pipelines/parse-launch.c:
Use HAVE_VALGRIND_H some more.

ChangeLog
tests/check/gst/gstbuffer.c
tests/check/pipelines/parse-launch.c

index ec1ec6c..864e79c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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:
          Pass arguments to make.
          Run autoregen.sh if Makefile is not there.
index 6b58f57..06cac4c 100644 (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
index d8f3b7a..8272bc4 100644 (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
   }