tests: define GST_CHECK_TEST_ENVIRONMENT_BEACON
authorTim-Philipp Müller <tim@centricular.com>
Thu, 23 Apr 2015 16:27:40 +0000 (17:27 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 23 Apr 2015 16:27:40 +0000 (17:27 +0100)
Make sure the test environment is set up.

https://bugzilla.gnome.org//show_bug.cgi?id=747624

tests/check/Makefile.am

index 82e6d42081c7cf9a149fb707b70e30d20597c0ce..564d9307dee5875daca94ae1a0e3e9f5ba08cfb0 100644 (file)
@@ -49,9 +49,11 @@ AM_CFLAGS = -I$(top_srcdir)/gst/rtsp-server \
        $(GST_CFLAGS) \
        $(GST_CHECK_CFLAGS) \
        -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
+       -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
        -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
 AM_CXXFLAGS = $(GST_CXXFLAGS) $(GST_CHECK_CFLAGS) \
        -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
+       -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
        -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
 LDADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
        $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_API_VERSION@ \