void-packages/srcpkgs/gnuradio/patches/skip-test-that-hangs-on-32bit.patch
Gonzalo Tornaría 6932a65a55 gnuradio: revbump for gsl-2.7.1
Also fix do_check() step:
 - add python3-scipy to checkdepends, required by some tests
 - add three patches from upstream that fix some other tests
 - add a patch to (conditionally) skip a test that hangs on 32 bit

Note: on i686 2 tests fail (qa_ctcss_squelch, qa_constellation)
2022-01-12 16:48:22 +01:00

26 lines
906 B
Diff

Skip one test that hangs forever on 32 bit
See: https://github.com/gnuradio/gnuradio/issues/989
--- a/gr-fec/python/fec/qa_fecapi_ldpc.py 2019-08-09 18:15:36.000000000 -0300
+++ b/gr-fec/python/fec/qa_fecapi_ldpc.py 2021-12-28 12:56:31.635977173 -0300
@@ -98,6 +98,9 @@
self.assertEqual(data_in, data_out)
def test_parallelism0_03(self):
+ from ctypes import sizeof, c_long
+ if sizeof(c_long) <= 4:
+ return
filename = LDPC_ALIST_DIR + "n_0100_k_0058_gen_matrix.alist"
gap = 4
LDPC_matrix_object = fec.ldpc_G_matrix(filename)
@@ -115,6 +118,9 @@
self.assertEqual(data_in, data_out)
def test_parallelism0_03(self):
+ from ctypes import sizeof, c_long
+ if sizeof(c_long) <= 4:
+ return
filename = LDPC_ALIST_DIR + "n_0100_k_0058_gen_matrix.alist"
gap = 4
k = 100 - 58