diff options
author | Doug Geiger <doug.geiger@bioradiation.net> | 2015-07-07 17:27:35 -0400 |
---|---|---|
committer | Doug Geiger <doug.geiger@bioradiation.net> | 2015-07-09 11:19:07 -0400 |
commit | 8db71d32b22b95264c9a090aa5ddc7048496f94b (patch) | |
tree | 037d4b2f8ca8852202f8ff797465ef0b1b562d4b /gr-blocks/lib/qa_blocks.cc | |
parent | 85f864ec184a0fd1fd0436e11cb2ab1c6cb2bc25 (diff) |
Re-add qa_gr_flowgraph/qa_set_msg_handler to test suite
During the great shuffling of v3.6->v3.7 qa_gr_flowgraph and qa_set_msg_handler got dropped on the cmake floor.
This commit adds both back into the automated tests (this lives in gr-blocks since it requires the nop/null_source/null_sink blocks).
Both files needed updating to the v3.7+ API (i.e. using gr::<blah> namespace instead of gr_<blah>), also two of the tests in qa_gr_flowgraph were
failing since the null_source and null_sink have since been changed to allow infinite outputs/inputs (i.e. the test that checks the flowgraph connect
checker was failing due to the underlying block allowing multiple ports).
Instead we have to replicate the functionality of the null_sink/source in this file, but only allow a single in/out.
Also removes sine_table.h which lives in gnuradio-runtime since the great re-shuffling of 2013 (the only place it is used in
gnuradio-runtime/lib/math/fxpt.cc, and it does not get installed)
Diffstat (limited to 'gr-blocks/lib/qa_blocks.cc')
-rw-r--r-- | gr-blocks/lib/qa_blocks.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-blocks/lib/qa_blocks.cc b/gr-blocks/lib/qa_blocks.cc index b28ab5a57d..c7d76ed3d7 100644 --- a/gr-blocks/lib/qa_blocks.cc +++ b/gr-blocks/lib/qa_blocks.cc @@ -29,6 +29,8 @@ #include <qa_block_tags.h> #include <qa_rotator.h> #include <qa_gr_block.h> +#include <qa_gr_flowgraph.h> +#include <qa_set_msg_handler.h> CppUnit::TestSuite * qa_blocks::suite() @@ -38,6 +40,7 @@ qa_blocks::suite() s->addTest(qa_block_tags::suite()); s->addTest(qa_rotator::suite()); s->addTest(qa_gr_block::suite()); - + s->addTest(qa_gr_flowgraph::suite()); + s->addTest(qa_set_msg_handler::suite()); return s; } |