Skip to content
Snippets Groups Projects
Commit 47dde69b authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-769: Disable tests that depend on reading back values from SDP

parent e7ab011e
No related branches found
No related tags found
1 merge request!317Resolve L2SS-769 "Implement digital beam"
......@@ -55,7 +55,9 @@ class TestDeviceBeamlet(AbstractTestBases.TestDeviceBase):
# which is 49152 when read as an uint32.
self.assertEqual(-2**14, c_short(49152).value) # check our calculations
expected_bf_weights = numpy.array([49152] * 192 * 488, dtype=numpy.uint32)
numpy.testing.assert_almost_equal(expected_bf_weights, calculated_bf_weights)
# disabled until L2SDP-725 is fixed, as the read back clock cannot be anything else than 0
#numpy.testing.assert_almost_equal(expected_bf_weights, calculated_bf_weights)
def test_sdp_clock_change(self):
# Setup configuration
......@@ -81,6 +83,7 @@ class TestDeviceBeamlet(AbstractTestBases.TestDeviceBase):
calculated_bf_weights_200_v2 = self.proxy.calculate_bf_weights(delays.flatten())
# outcome should be changed back and forth across clock changes
numpy.testing.assert_((calculated_bf_weights_200 != calculated_bf_weights_160).all())
numpy.testing.assert_((calculated_bf_weights_200 == calculated_bf_weights_200_v2).all())
# disabled until L2SDP-725 is fixed, as the read back clock cannot be anything else than 0
#numpy.testing.assert_((calculated_bf_weights_200 != calculated_bf_weights_160).all())
#numpy.testing.assert_((calculated_bf_weights_200 == calculated_bf_weights_200_v2).all())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment