diff --git a/tests/check/elements/videoscale.c b/tests/check/elements/videoscale.c index 0ecf1f5cae..dc90564237 100644 --- a/tests/check/elements/videoscale.c +++ b/tests/check/elements/videoscale.c @@ -942,7 +942,8 @@ videoscale_suite (void) tcase_add_test (tc_chain, test_reverse_negotiation); #endif tcase_add_test (tc_chain, test_basetransform_negotiation); -#elif VSCALE_TEST_GROUP == 1 +#else +#if VSCALE_TEST_GROUP == 1 tcase_add_test (tc_chain, test_downscale_640x480_320x240_method_0); tcase_add_test (tc_chain, test_downscale_640x480_320x240_method_1); tcase_add_test (tc_chain, test_downscale_640x480_320x240_method_2); @@ -997,6 +998,7 @@ videoscale_suite (void) tcase_add_test (tc_chain, test_upscale_1x240_640x480_method_2); tcase_add_test (tc_chain, test_upscale_1x240_640x480_method_3); #endif +#endif /* VSCALE_TEST_GROUP */ return s; } diff --git a/tests/check/libs/profile.c b/tests/check/libs/profile.c index b0e658dae9..543de2db5b 100644 --- a/tests/check/libs/profile.c +++ b/tests/check/libs/profile.c @@ -685,10 +685,11 @@ profile_suite (void) Suite *s = suite_create ("profile support library"); TCase *tc_chain = tcase_create ("general"); gboolean can_write; - gchar *gst_dir; /* cehck if we can create profiles */ #ifdef G_OS_UNIX + gchar *gst_dir; + gst_dir = g_build_filename (g_get_user_data_dir (), "gstreamer-1.0", NULL); can_write = (g_access (gst_dir, R_OK | W_OK | X_OK) == 0); g_free (gst_dir); diff --git a/tests/check/libs/rtpbasedepayload.c b/tests/check/libs/rtpbasedepayload.c index 01f1a372d2..5e6f8a3a93 100644 --- a/tests/check/libs/rtpbasedepayload.c +++ b/tests/check/libs/rtpbasedepayload.c @@ -123,7 +123,8 @@ gst_rtp_dummy_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf) GstMemory *mem = gst_buffer_get_memory (buf, 0); gsize size, offset, maxsize; size = gst_memory_get_sizes (mem, &offset, &maxsize); - GST_LOG ("\tsize=%zd offset=%zd maxsize=%zd", size, offset, maxsize); + GST_LOG ("\tsize=%" G_GSIZE_FORMAT " offset=%" G_GSIZE_FORMAT " maxsize=%" + G_GSIZE_FORMAT, size, offset, maxsize); gst_memory_unref (mem); } @@ -144,7 +145,8 @@ gst_rtp_dummy_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf) GstMemory *mem = gst_buffer_get_memory (buf, 0); gsize size, offset, maxsize; size = gst_memory_get_sizes (mem, &offset, &maxsize); - GST_LOG ("\tsize=%zd offset=%zd maxsize=%zd", size, offset, maxsize); + GST_LOG ("\tsize=%" G_GSIZE_FORMAT " offset=%" G_GSIZE_FORMAT " maxsize=%" + G_GSIZE_FORMAT, size, offset, maxsize); gst_memory_unref (mem); }