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:-
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.
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.