benchmarks: Disable tracerserialize benchmark on GST_DISABLE_GST_DEBUG
authorEdward Hervey <edward@centricular.com>
Tue, 19 Jan 2016 10:11:25 +0000 (11:11 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 19 Jan 2016 10:12:27 +0000 (11:12 +0100)
no gst-debugging => no tracer logging (and no pony either)

tests/benchmarks/Makefile.am

index cb1c693..3d769f5 100644 (file)
@@ -1,3 +1,9 @@
+if !GST_DISABLE_GST_DEBUG
+TRACER_BENCH = tracerserialize
+else
+TRACER_BENCH =
+endif
+
 noinst_PROGRAMS = \
         caps \
         capsnego \
@@ -9,7 +15,7 @@ noinst_PROGRAMS = \
         gstpoolstress \
         gstclockstress \
         gstbufferstress \
-        tracerserialize
+        $(TRACER_BENCH)
 
 LDADD = $(GST_OBJ_LIBS)
 AM_CFLAGS = $(GST_OBJ_CFLAGS)