Changeset 9674
- Timestamp:
- 09/28/08 22:39:20
- Files:
-
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/include/dsss/Makefile.am (modified) (1 diff)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/include/dsss/code_gen_1b.h (added)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/include/dsss/test.h (deleted)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/lib/Makefile.am (modified) (4 diffs)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/lib/code_gen_1b.cc (added)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/lib/qa_code_gen_1b.cc (added)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/lib/qa_code_gen_1b.h (added)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/lib/qa_dsss.cc (modified) (2 diffs)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/python/Makefile.am (modified) (1 diff)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/python/code_gen_1b.i (added)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/python/dsss.i (modified) (2 diffs)
- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/python/qa_dsss.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/branches/developers/jcorgan/dsss/gr-dsss/include/dsss/Makefile.am
r9667 r9674 24 24 25 25 ourinclude_HEADERS = \ 26 test.h26 code_gen_1b.h gnuradio/branches/developers/jcorgan/dsss/gr-dsss/lib/Makefile.am
r9667 r9674 21 21 include $(top_srcdir)/Makefile.common 22 22 23 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(CPPUNIT_CPPFLAGS) 23 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(CPPUNIT_CPPFLAGS) \ 24 -I$(top_srcdir)/gr-dsss/include 24 25 25 26 # list of programs run by "make check" and "make distcheck" … … 35 36 # The main library 36 37 # ---------------------------------------------------------------- 37 libgr_dsss_la_SOURCES = 38 libgr_dsss_la_SOURCES = \ 39 code_gen_1b.cc 38 40 39 41 libgr_dsss_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 … … 45 47 # ---------------------------------------------------------------- 46 48 libgr_dsss_qa_la_SOURCES = \ 47 qa_dsss.cc 49 qa_dsss.cc \ 50 qa_code_gen_1b.cc 48 51 49 libgr_dsss_qa_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:052 libgr_dsss_qa_la_LDFLAGS = $(NO_UNDEFINED) 50 53 51 54 libgr_dsss_qa_la_LIBADD = \ … … 57 60 # ---------------------------------------------------------------- 58 61 noinst_HEADERS = \ 59 qa_dsss.h 62 qa_dsss.h \ 63 qa_code_gen_1b.h 60 64 61 65 # ---------------------------------------------------------------- gnuradio/branches/developers/jcorgan/dsss/gr-dsss/lib/qa_dsss.cc
r9667 r9674 27 27 28 28 #include <qa_dsss.h> 29 // #include <qa_....h>29 #include <qa_code_gen_1b.h> 30 30 31 31 CppUnit::TestSuite * … … 34 34 CppUnit::TestSuite *s = new CppUnit::TestSuite("dsss"); 35 35 36 // s->addTest(...);36 s->addTest(qa_code_gen_1b::suite()); 37 37 38 38 return s; gnuradio/branches/developers/jcorgan/dsss/gr-dsss/python/Makefile.am
r9667 r9674 25 25 ourswigincludedir = $(grincludedir)/dsss/swig 26 26 27 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) 27 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) \ 28 -I$(top_srcdir)/gr-dsss/include 29 28 30 SWIGPYTHONARGS = $(SWIGPYTHONFLAGS) $(SWIGGRFLAGS) $(STD_DEFINES_AND_INCLUDES) \ 29 31 $(WITH_INCLUDES) $(WITH_SWIG_INCLUDES) gnuradio/branches/developers/jcorgan/dsss/gr-dsss/python/dsss.i
r9667 r9674 22 22 %feature("autodoc", "1"); // generate python docstrings 23 23 24 %include "exception.i"25 %import "gnuradio.i"// the common stuff24 %include <exception.i> 25 %import <gnuradio.i> // the common stuff 26 26 27 27 %{ … … 30 30 %} 31 31 32 // ---------------------------------------------------------------- 33 34 /* 35 * Gather all .i files in this directory together. 36 */ 37 38 %{ 39 40 // The .h files 41 // #include <dsss/...h> 42 43 %} 44 45 // The .i files 46 // %include <dsss_....i> 47 32 %include "code_gen_1b.i" gnuradio/branches/developers/jcorgan/dsss/gr-dsss/python/qa_dsss.py
r9667 r9674 22 22 23 23 from gnuradio import gr, gr_unittest 24 import dsss_swig 24 import dsss_swig as dsss 25 25 26 26 class qa_dsss(gr_unittest.TestCase): … … 33 33 34 34 def test_001_nop(self): 35 pass 35 g = dsss.code_gen_1b() 36 self.assertTrue(g.next() == 0) 36 37 37 38 if __name__ == '__main__':
