Unit test concole output

When I run OCUnit test for a c program the output from the program I'm testing is apparently not written to the console.

Example C code:
   printf("Starting DAGenericNetworkManager");
   fflush(stdout);

Is there a better way to write the print statements? Or do I have to change some settings to get the output to go to the console?

Thanks!

2 comments

Right after I submitted the question I realized that NSLog works fine.
  Example:  NSLog(@"Starting DAGenericApp");

0

Dave,
if the problem remains, please isolate it in a sample project and attach to a new issue in the tracker.
Thanks

0

Please sign in to leave a comment.