diff options
Diffstat (limited to 'gr-ezdop/src/python')
-rw-r--r-- | gr-ezdop/src/python/Makefile.am | 32 | ||||
-rwxr-xr-x | gr-ezdop/src/python/qa_ezdop.py | 52 | ||||
-rw-r--r-- | gr-ezdop/src/python/run_tests.in | 10 |
3 files changed, 0 insertions, 94 deletions
diff --git a/gr-ezdop/src/python/Makefile.am b/gr-ezdop/src/python/Makefile.am deleted file mode 100644 index 01fa6bb48..000000000 --- a/gr-ezdop/src/python/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -# -# Copyright 2004 Free Software Foundation, Inc. -# -# This file is part of GNU Radio -# -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Radio is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# - -include $(top_srcdir)/Makefile.common - -EXTRA_DIST = run_tests.in - - -TESTS = \ - run_tests - - -noinst_PYTHON = \ - qa_ezdop.py diff --git a/gr-ezdop/src/python/qa_ezdop.py b/gr-ezdop/src/python/qa_ezdop.py deleted file mode 100755 index 55752e004..000000000 --- a/gr-ezdop/src/python/qa_ezdop.py +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/env python -# -# Copyright 2004 Free Software Foundation, Inc. -# -# This file is part of GNU Radio -# -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Radio is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# - -from gnuradio import gr, gr_unittest -import ezdop - -class qa_ezdop(gr_unittest.TestCase): - - def setUp (self): - self.fg = gr.flow_graph () - - def tearDown (self): - self.fg = None -""" - def test_001_installed(self): - DOP = ezdop.source_c(); - - def test_002_start_stop(self): - DOP = ezdop.source_c(); - DOP.set_rate(1000); - print "rate =", DOP.rate() - DOP.rotate(); - - self.fg.connect(DOP, gr.null_sink(gr.sizeof_gr_complex)) - try: - self.fg.run() - except KeyboardInterrupt: - pass - DOP.stop_rotating(); -""" - -if __name__ == '__main__': - gr_unittest.main () diff --git a/gr-ezdop/src/python/run_tests.in b/gr-ezdop/src/python/run_tests.in deleted file mode 100644 index 118d67dc1..000000000 --- a/gr-ezdop/src/python/run_tests.in +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# 1st parameter is absolute path to component source directory -# 2nd parameter is absolute path to component build directory -# 3rd parameter is path to Python QA directory - -@top_builddir@/run_tests.sh \ - @abs_top_srcdir@/gr-ezdop \ - @abs_top_builddir@/gr-ezdop \ - @srcdir@ |