mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tests: never disable g_assert() and cast checks for the unit tests
The unit tests are riddled with g_assert() and friends, make sure we don't disable assert and cast checks for the unit tests even if this has been specified for the rest of the code base, e.g. via --disable-glib-asserts.
This commit is contained in:
parent
3145eac577
commit
a044983745
1 changed files with 5 additions and 4 deletions
|
@ -181,13 +181,14 @@ noinst_HEADERS = elements/mxfdemux.h
|
||||||
TESTS = $(check_PROGRAMS)
|
TESTS = $(check_PROGRAMS)
|
||||||
|
|
||||||
AM_CFLAGS = $(GST_CHECK_CFLAGS) $(GST_OPTION_CFLAGS) \
|
AM_CFLAGS = $(GST_CHECK_CFLAGS) $(GST_OPTION_CFLAGS) \
|
||||||
-DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\""
|
-DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
|
||||||
|
-UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
|
||||||
LDADD = $(GST_CHECK_LIBS)
|
LDADD = $(GST_CHECK_LIBS)
|
||||||
|
|
||||||
elements_camerabin_CFLAGS = \
|
elements_camerabin_CFLAGS = \
|
||||||
-I$(top_builddir)/gst-libs \
|
-I$(top_builddir)/gst-libs \
|
||||||
$(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
$(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_PLUGINS_BAD_CFLAGS) $(GST_CHECK_CFLAGS) \
|
$(GST_PLUGINS_BAD_CFLAGS) $(GST_CHECK_CFLAGS) $(AM_CFLAGS) \
|
||||||
-DGST_USE_UNSTABLE_API
|
-DGST_USE_UNSTABLE_API
|
||||||
elements_camerabin_LDADD = \
|
elements_camerabin_LDADD = \
|
||||||
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \
|
||||||
|
@ -200,7 +201,7 @@ if BUILD_EXPERIMENTAL
|
||||||
elements_camerabin2_CFLAGS = \
|
elements_camerabin2_CFLAGS = \
|
||||||
-I$(top_builddir)/gst-libs \
|
-I$(top_builddir)/gst-libs \
|
||||||
$(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
$(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_PLUGINS_BAD_CFLAGS) $(GST_CHECK_CFLAGS) \
|
$(GST_PLUGINS_BAD_CFLAGS) $(GST_CHECK_CFLAGS) $(AM_CFLAGS) \
|
||||||
-DGST_USE_UNSTABLE_API
|
-DGST_USE_UNSTABLE_API
|
||||||
elements_camerabin2_LDADD = \
|
elements_camerabin2_LDADD = \
|
||||||
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \
|
||||||
|
@ -212,7 +213,7 @@ elements_camerabin2_SOURCES = elements/camerabin2.c
|
||||||
elements_imagecapturebin_CFLAGS = \
|
elements_imagecapturebin_CFLAGS = \
|
||||||
-I$(top_builddir)/gst-libs \
|
-I$(top_builddir)/gst-libs \
|
||||||
$(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
$(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_CHECK_CFLAGS) \
|
$(GST_CHECK_CFLAGS) $(AM_CFLAGS) \
|
||||||
-DGST_USE_UNSTABLE_API
|
-DGST_USE_UNSTABLE_API
|
||||||
elements_imagecapturebin_LDADD = \
|
elements_imagecapturebin_LDADD = \
|
||||||
$(GST_LIBS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
|
$(GST_LIBS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
|
||||||
|
|
Loading…
Reference in a new issue