Re: [Cppcms-users] make test: 96% tests passed, 2 tests failed out of 46
Brought to you by:
artyom-beilis
From: augustin <aug...@ov...> - 2010-07-13 06:09:00
|
On Tuesday 13 July 2010 12:35:44 pm Artyom wrote: > These tests had failed because you had an application that > runs and listens to 8080 port, Unit tests use it for communication > with the application - so it can't bind to the port. > > Stop a service or application that listen on them and they should pass. Ok. I found the process and turned it off. > Take a look on file /usr/include/unicode/uversion.h > and see how U_ICU_VERSION is defined. > > It looks like you have 4.0 and I handn't chance to test CppCMS > against this version (tested 3.6, 3.8, 4.2 and 4.4) You are right: #define U_ICU_VERSION "4.0.1" Before patching the source, I tried to compile to see the different. I got: 93% tests passed, 3 tests failed out of 46 Total Test time (real) = 37.90 sec The following tests FAILED: 10 - internal_forwarder_test (SEGFAULT) 11 - forwarder_test (Failed) 42 - test_locale_formatting (Failed) Errors while running CTest make: *** [test] Error 8 > The faults are minor and not critical but can you please change lines > 297, 165 in booster/lib/locale/test/test_formatting.cpp file from > > #if U_ICU_VERSION_MAJOR_NUM >= 4 > to > #if U_ICU_VERSION_MAJOR_NUM*100 + U_ICU_VERSION_MINOR_NUM >= 402 > > And tell me if it helps? After patching, I got: 96% tests passed, 2 tests failed out of 46 Total Test time (real) = 37.60 sec The following tests FAILED: 10 - internal_forwarder_test (Failed) 11 - forwarder_test (SEGFAULT) Errors while running CTest make: *** [test] Error 8 10/46 Testing: internal_forwarder_test 10/46 Test: internal_forwarder_test Command: "/home/overshoot/devel/svn/cppcms/build/forwarder_test" "-c" "/home/overshoot/devel/svn/cppcms/tests/forwarder_test.js" "--test- exec=/usr/bin/python /home/overshoot/devel/svn/cppcms/tests/forwarder_test.py" "--test-internal=true" Directory: /home/overshoot/devel/svn/cppcms/build "internal_forwarder_test" start time: Jul 13 14:00 CST Output: ---------------------------------------------------------- Tesing internal forwarder system: Address already in use <end of output> Test time = 0.02 sec ---------------------------------------------------------- Test Failed. "internal_forwarder_test" end time: Jul 13 14:00 CST "internal_forwarder_test" time elapsed: 00:00:00 ---------------------------------------------------------- 11/46 Testing: forwarder_test 11/46 Test: forwarder_test Command: "/home/overshoot/devel/svn/cppcms/build/forwarder_test" "-c" "/home/overshoot/devel/svn/cppcms/tests/forwarder_test.js" "--test- exec=/usr/bin/python /home/overshoot/devel/svn/cppcms/tests/forwarder_test.py" "--test-internal=false" Directory: /home/overshoot/devel/svn/cppcms/build "forwarder_test" start time: Jul 13 14:00 CST Output: ---------------------------------------------------------- Tesing application level forwarding <end of output> Test time = 0.01 sec ---------------------------------------------------------- Test Failed. "forwarder_test" end time: Jul 13 14:00 CST "forwarder_test" time elapsed: 00:00:00 ---------------------------------------------------------- Augustin. -- Friends: http://www.reuniting.info/ http://activistsolutions.org/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |