This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 134169 [details] 1 - console output (text) 2 - test window (png) When adding CUnit tests to a project and running the tests, 1. the summary title line is consumed by CnCppUnitTestHandler and missed in output window (rest of summary is there but for unskilled users not interpretable because of missing head line) See console output in attachment. if the tests are divided in more than one test suite, 2.1 display in test result window is not correct (suite 1 seem not be finished in a correct way). 2.2 tests of first test suite are not recorded See png in attachment
Unfortunately, I cannot reproduce neither of the described issues. I've tried the latest IDE on - Windows XP with Cygwin; - Ubuntu 8.04. On both systems I see CUnit - A Unit testing framework for C - Version 2.1-2 http://cunit.sourceforge.net/ title. The several test suites run also works fine. Could you, please, try the latest NetBeans Dev build and check if the issue is still exists for you. If it is, please, tell what tool collection you are using on Windows Cygwin or MinGW or something else.
Can you type "make test" in any terminal and attach you output?
Hello, added attachment2 [details] with picture of netbeans test window and output of make. In the picture you see indeed the 2 title lines .. CUnit....http://...., but it's missing the line --Run Summary: Type Total Ran Passed Failed Btw: In the netbeans test window it's missing the runned tests of the first test suite... Hope that helps. Gunter
Created attachment 134858 [details] Attachment to comment 3
Thanks, now I see that the header is missed. And I can reproduce this on my Linux system.
The issues are resolved: http://hg.netbeans.org/cnd-main/rev/ff6ace938d1a Now Output window should contain not stripped output, and Test Results log window will display table headers. The second issue is resolved as well. I was able to reproduce it by adding one more suite to the same test file.
Better fix for second issue: http://hg.netbeans.org/cnd-main/rev/ac087cce3b73
Integrated into 'main-golden', will be available in build *201305281155* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ff6ace938d1a User: igor_nikiforov <igor_nikiforov@netbeans.org> Log: Bug 229446 - CUnit result evaluation not correct - fix.
Integrated into 'main-golden', will be available in build *201305282301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ac087cce3b73 User: igor_nikiforov <igor_nikiforov@netbeans.org> Log: Bug 229446 - CUnit result evaluation not correct - additional fix.
Well done! Now working as expected. Thanks, Gunter