mavak / trucov

True coverage tool for C / C++
1 stars 1 forks source link

Unit Test prims.h #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Description
Test functors.

Source files
prims.h

Original issue reported on code.google.com by millerlyte87@gmail.com on 24 Aug 2009 at 2:42

GoogleCodeExporter commented 9 years ago

Original comment by millerlyte87@gmail.com on 31 Aug 2009 at 7:14

GoogleCodeExporter commented 9 years ago

Original comment by millerlyte87@gmail.com on 15 Sep 2009 at 1:28

GoogleCodeExporter commented 9 years ago
Please verify this test exists and all the tests pass.

Original comment by millerlyte87@gmail.com on 21 Sep 2009 at 3:32

GoogleCodeExporter commented 9 years ago
Prims- reverse_buffer Unit test do not pass.

Output
------
[ RUN      ] PrimsTest.reverse_buffer
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted

Original comment by yekyaw.wsu@gmail.com on 22 Sep 2009 at 4:18

GoogleCodeExporter commented 9 years ago
std::bad_alloc is thrown when your computer runs out of memory... Not sure why 
you
are getting that, since that function does not allocate any memory, except when 
it
steps into the function (increase stack size).

All the tests pass for William and I. I changed a memory allocation thing within
gcno_actors unit test.

Please do an update, and try ./all_unittest and ./prims_unittest.

Original comment by millerlyte87@gmail.com on 23 Sep 2009 at 2:06

GoogleCodeExporter commented 9 years ago

Original comment by millerlyte87@gmail.com on 5 Nov 2009 at 5:34

GoogleCodeExporter commented 9 years ago
Verified by Matt.

Original comment by millerlyte87@gmail.com on 24 Nov 2009 at 9:31