mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
tests: fix simple-launch-lines when jpeg lib isn't present
JPEG detection in configure.ac defines HAVE_JPEG to 0 if the jpeg lib isn't found, rather then not defining it. https://bugzilla.gnome.org/show_bug.cgi?id=769197
This commit is contained in:
parent
efa5b219e6
commit
c94c0ad834
1 changed files with 6 additions and 2 deletions
|
@ -188,6 +188,8 @@ GST_START_TEST (test_glfilterapp)
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST
|
||||||
|
#ifdef HAVE_PNG
|
||||||
|
#if HAVE_JPEG
|
||||||
GST_START_TEST (test_gloverlay)
|
GST_START_TEST (test_gloverlay)
|
||||||
{
|
{
|
||||||
const gchar *s;
|
const gchar *s;
|
||||||
|
@ -207,6 +209,8 @@ GST_START_TEST (test_gloverlay)
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
#if GST_GL_HAVE_OPENGL
|
#if GST_GL_HAVE_OPENGL
|
||||||
#define N_SRCS 13
|
#define N_SRCS 13
|
||||||
GST_START_TEST (test_gltestsrc)
|
GST_START_TEST (test_gltestsrc)
|
||||||
|
@ -333,7 +337,7 @@ simple_launch_lines_suite (void)
|
||||||
tcase_add_test (tc_chain, test_glshader);
|
tcase_add_test (tc_chain, test_glshader);
|
||||||
tcase_add_test (tc_chain, test_glfilterapp);
|
tcase_add_test (tc_chain, test_glfilterapp);
|
||||||
#ifdef HAVE_PNG
|
#ifdef HAVE_PNG
|
||||||
#ifdef HAVE_JPEG
|
#if HAVE_JPEG
|
||||||
tcase_add_test (tc_chain, test_gloverlay);
|
tcase_add_test (tc_chain, test_gloverlay);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -346,7 +350,7 @@ simple_launch_lines_suite (void)
|
||||||
#ifdef HAVE_PNG
|
#ifdef HAVE_PNG
|
||||||
tcase_add_test (tc_chain, test_gldifferencematte);
|
tcase_add_test (tc_chain, test_gldifferencematte);
|
||||||
/* tcase_add_test (tc_chain, test_glbumper);*/
|
/* tcase_add_test (tc_chain, test_glbumper);*/
|
||||||
#ifdef HAVE_JPEG
|
#if HAVE_JPEG
|
||||||
#endif /* HAVE_JPEG */
|
#endif /* HAVE_JPEG */
|
||||||
#endif /* HAVE_PNG */
|
#endif /* HAVE_PNG */
|
||||||
#endif /* GST_GL_HAVE_OPENGL */
|
#endif /* GST_GL_HAVE_OPENGL */
|
||||||
|
|
Loading…
Reference in a new issue