summaryrefslogtreecommitdiff
path: root/gr-digital/python
diff options
context:
space:
mode:
authorTom Rondeau2012-01-02 22:47:59 -0500
committerTom Rondeau2012-01-02 22:47:59 -0500
commit12825f5fdfffd831a36a04695176c4c46f0a03b5 (patch)
tree7a562f0e457e038ff620ec5a12cf3b77e0e4e392 /gr-digital/python
parent4c6316e12456650b56fab2aa5bbca273a972b1c6 (diff)
downloadgnuradio-12825f5fdfffd831a36a04695176c4c46f0a03b5.tar.gz
gnuradio-12825f5fdfffd831a36a04695176c4c46f0a03b5.tar.bz2
gnuradio-12825f5fdfffd831a36a04695176c4c46f0a03b5.zip
digital: bug fix for FLL QA test. Use a seed to always generate the same test sequence.
Diffstat (limited to 'gr-digital/python')
-rwxr-xr-xgr-digital/python/qa_fll_band_edge.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-digital/python/qa_fll_band_edge.py b/gr-digital/python/qa_fll_band_edge.py
index 088eb2b68..7d89bc9ea 100755
--- a/gr-digital/python/qa_fll_band_edge.py
+++ b/gr-digital/python/qa_fll_band_edge.py
@@ -46,6 +46,7 @@ class test_fll_band_edge_cc(gr_unittest.TestCase):
foffset = 0.2 / (2.0*math.pi)
# Create a set of 1's and -1's, pulse shape and interpolate to sps
+ random.seed(0)
data = [2.0*random.randint(0, 2) - 1.0 for i in xrange(200)]
self.src = gr.vector_source_c(data, False)
self.rrc = gr.interp_fir_filter_ccf(sps, rrc_taps)