I was not using CPPUINT_ASSER_EQUAL. I will give that a go later today. Thank you!
On Wed, Jun 1, 2016 at 12:08 PM, Martin Braun <martin.br...@ettus.com> wrote: > Are you using assert() or CPPUNIT_ASSERT_*? > > I just hacked something together, and it worked/failed just fine. > > This is my class: > {{{ > 34 class TESTOR_API fooooo > 35 { > 36 public: > 37 fooooo(); > 38 ~fooooo(); > 39 > 40 int return_five() { return 5; } > 41 private: > 42 }; > }}} > > And my test: > {{{ > 30 void > 31 qa_fooooo::t1() > 32 { > 33 fooooo F; > 34 CPPUNIT_ASSERT_EQUAL(F.return_five(), 5); > 35 CPPUNIT_ASSERT_EQUAL(F.return_five(), 6); > 36 } > }}} > > Line 35 causes to fail when I run make test. > > M > > On 05/31/2016 12:36 PM, Dave NotTelling wrote: > > I created a noblock C++ class and asked for QA tests to be created. I > > see that the _qa files exist for both .h and .cc files. But, when I run > > 'make test' I only see the tests for the actual blocks (sync in this > > case). If I run ./lib/test-MyOTT then I see the output of my noblock > > test, but the assert() calls don't cause a failure. Am I doing > > something wrong? > > > > Thank you! > > > > -Dave > > > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > Discuss-gnuradio@gnu.org > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio