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!

0
Avatar
Permanently deleted user

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

请先登录再写评论。