From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Mon, 6 Jun 2022 00:30:08 +0200
Subject: [PATCH] HACK: meson: Disable broken tests

---
 subprojects/gst-editing-services/tests/check/meson.build       | 2 --
 subprojects/gst-plugins-bad/tests/check/elements/curlhttpsrc.c | 1 -
 subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c    | 1 -
 subprojects/gst-plugins-bad/tests/check/elements/lc3.c         | 3 ---
 subprojects/gst-plugins-bad/tests/check/meson.build            | 1 -
 subprojects/gst-plugins-bad/tests/validate/meson.build         | 3 ---
 subprojects/gst-plugins-base/tests/validate/meson.build        | 1 -
 subprojects/gst-plugins-good/tests/check/elements/flvmux.c     | 1 -
 subprojects/gstreamer-vaapi/meson.build                        | 1 -
 9 files changed, 14 deletions(-)

diff --git a/subprojects/gst-editing-services/tests/check/meson.build b/subprojects/gst-editing-services/tests/check/meson.build
index 784c592ba6f1..bbf9a2491a86 100644
--- a/subprojects/gst-editing-services/tests/check/meson.build
+++ b/subprojects/gst-editing-services/tests/check/meson.build
@@ -144,7 +144,5 @@ if build_gir
     env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
     env.set('GI_TYPELIB_PATH', meson.current_build_dir() / '..' / '..' / 'ges')
 
-    test('pythontests', runtests, args: ['--pyunittest-dir', meson.current_source_dir(), 'pyunittest', '--dump-on-failure'],
-         env: env)
   endif
 endif
diff --git a/subprojects/gst-plugins-bad/tests/check/elements/curlhttpsrc.c b/subprojects/gst-plugins-bad/tests/check/elements/curlhttpsrc.c
index d0901d5b23df..62b3bba4b614 100644
--- a/subprojects/gst-plugins-bad/tests/check/elements/curlhttpsrc.c
+++ b/subprojects/gst-plugins-bad/tests/check/elements/curlhttpsrc.c
@@ -910,7 +910,6 @@ curlhttpsrc_suite (void)
   tcase_add_test (tc_chain, test_forbidden);
   tcase_add_test (tc_chain, test_cookies);
   tcase_add_test (tc_chain, test_multiple_http_requests);
-  tcase_add_test (tc_chain, test_range_get);
 
   return s;
 }
diff --git a/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c b/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c
index 1d347b0a54ea..1ee4babf36ae 100644
--- a/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c
+++ b/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c
@@ -6659,7 +6659,6 @@ dash_suite (void)
   tcase_add_test (tc_simpleMPD, dash_mpdparser_default_presentation_delay);
 
   /* tests checking xlink attributes */
-  tcase_add_test (tc_simpleMPD, dash_mpdparser_xlink_period);
 
   /* tests checking the MPD management
    * (eg. setting active streams, obtaining attributes values)
diff --git a/subprojects/gst-plugins-bad/tests/check/elements/lc3.c b/subprojects/gst-plugins-bad/tests/check/elements/lc3.c
index 5ee2ca1efaac..a6a692ee26a1 100644
--- a/subprojects/gst-plugins-bad/tests/check/elements/lc3.c
+++ b/subprojects/gst-plugins-bad/tests/check/elements/lc3.c
@@ -429,9 +429,6 @@ lc3_suite (void)
   TCase *tc_chain = tcase_create ("general");
 
   suite_add_tcase (s, tc_chain);
-  tcase_add_test (tc_chain, test_48k_8ch_10000us);
-  tcase_add_test (tc_chain, test_48k_8ch_7500us);
-  tcase_add_test (tc_chain, test_24k_4ch_10000us);
   tcase_add_test (tc_chain, test_dec_plc);
 
   return s;
diff --git a/subprojects/gst-plugins-bad/tests/check/meson.build b/subprojects/gst-plugins-bad/tests/check/meson.build
index 40006d09bde6..bcd667d52d97 100644
--- a/subprojects/gst-plugins-bad/tests/check/meson.build
+++ b/subprojects/gst-plugins-bad/tests/check/meson.build
@@ -153,7 +153,6 @@ if host_machine.system() != 'windows'
     [['elements/jifmux.c'],
         not exif_dep.found() or not cdata.has('HAVE_UNISTD_H'), [exif_dep]],
     [['elements/jpegparse.c'], not cdata.has('HAVE_UNISTD_H')],
-    [['elements/netsim.c']],
     [['elements/shm.c'], not shm_enabled, shm_deps],
     [['elements/unixfd.c'], not gio_unix_dep.found()],
     [['elements/voaacenc.c'],
diff --git a/subprojects/gst-plugins-bad/tests/validate/meson.build b/subprojects/gst-plugins-bad/tests/validate/meson.build
index c09772a657f4..6dd292ea670a 100644
--- a/subprojects/gst-plugins-bad/tests/validate/meson.build
+++ b/subprojects/gst-plugins-bad/tests/validate/meson.build
@@ -4,15 +4,12 @@ if not gst_tester.found()
 endif
 
 tests = [
-    {'path': 'opencv/cvtracker'},
     {'path': 'testsrcbin/caps_spec'},
     {'path': 'codectimestamper/h264_propagate_caps'},
-    {'path': 'wpe/load_bytes_first', 'skip': not building_wpe},
     {'path': 'vtenc/vtenc_h264', 'skip': not applemedia_found_deps},
     {'path': 'vtenc/vtenc_h264_b_frames', 'skip': not applemedia_found_deps},
     {'path': 'vtenc/vtenc_h265', 'skip': not applemedia_found_deps},
     {'path': 'vtenc/vtenc_h265_b_frames', 'skip': not applemedia_found_deps},
-    {'path': 'autovideoconvert/renegotiate'},
 ]
 
 env = environment()
diff --git a/subprojects/gst-plugins-base/tests/validate/meson.build b/subprojects/gst-plugins-base/tests/validate/meson.build
index f732daae44c5..bc89d8caa676 100644
--- a/subprojects/gst-plugins-base/tests/validate/meson.build
+++ b/subprojects/gst-plugins-base/tests/validate/meson.build
@@ -20,7 +20,6 @@ tests = [
     'videorate/duplicate_on_eos',
     'videorate/duplicate_on_eos_disbaled',
     'videorate/duplicate_on_eos_half_sec',
-    'videorate/fill_segment_after_caps_changed_before_eos',
     'videorate/drop_out_of_segment',
     'compositor/renogotiate_failing_unsupported_src_format',
     'giosrc/read-growing-file',
diff --git a/subprojects/gst-plugins-good/tests/check/elements/flvmux.c b/subprojects/gst-plugins-good/tests/check/elements/flvmux.c
index 6efa928fb09b..1f1950ef323d 100644
--- a/subprojects/gst-plugins-good/tests/check/elements/flvmux.c
+++ b/subprojects/gst-plugins-good/tests/check/elements/flvmux.c
@@ -1162,7 +1162,6 @@ flvmux_suite (void)
 
   tcase_add_test (tc_chain, test_speex_streamable);
   tcase_add_test (tc_chain, test_increasing_timestamp_when_pts_none);
-  tcase_add_test (tc_chain, test_video_caps_late);
   tcase_add_test (tc_chain, test_audio_caps_change_streamable);
   tcase_add_test (tc_chain, test_video_caps_change_streamable);
   tcase_add_test (tc_chain, test_audio_caps_change_streamable_single);
diff --git a/subprojects/gstreamer-vaapi/meson.build b/subprojects/gstreamer-vaapi/meson.build
index 2007383d81c7..96cac724f869 100644
--- a/subprojects/gstreamer-vaapi/meson.build
+++ b/subprojects/gstreamer-vaapi/meson.build
@@ -218,7 +218,6 @@ plugins = []
 
 subdir('gst-libs')
 subdir('gst')
-subdir('tests')
 subdir('docs')
 
 # Set release date
