#33 test_cunit.c fails!

open
Anil Kumar
Core Issue (23)
5
2012-10-25
2008-09-24
John Pote
No

Hello,

I have taken the source code and compiled it for an embedded Nios II processor (a soft processor in an Altera FPGA). To get it to compile/run properly I have done the following:-
1 removed 'curses.c'
2 made function 'CU_dump_memory_usage()' in MyMem.c do nothing as the Nios environment has no file capability for saving the XML file.

The supplied test_cunit.c is used as is to provide the 'main' function.

When I run it the following console messages appear:-
<console op="">
Testing CUnit internals...
testing CUError.c ... - 15 assertions, 0 failures
testing MyMem.c ... - 34 assertions, 0 failures
testing TestDB.c ... - 514 assertions, 0 failures
testing TestRun.c ...
Aborting due to error #10: Test registry does not exist.
</console>

Is this what is supposed to happen? have I done something wrong? Is it a bug!?

Any help/comments appreciated.

Apart from this I have successfully started to use it with my project.
Many thanks,
John Pote

Discussion


Anonymous


Cancel   Add attachments