This is the output after running all Orocos test for an Orocos MinGW build:
Running tests... Test project C:/CodingXP/Sources & Projects/orocos/build_orocos-toolchain-2.1.1_mingw4.4 Start 1: main-test 1/32 Test #1: main-test ........................ Passed 0.02 sec Start 2: list-test 2/32 Test #2: list-test ........................ Passed 0.00 sec Start 3: core-test 3/32 Test #3: core-test ........................ Passed 5.14 sec Start 4: task-test 4/32 Test #4: task-test ........................ Passed 21.00 sec Start 5: buffers_test 5/32 Test #5: buffers_test ..................... Passed 0.02 sec Start 6: method_test 6/32 Test #6: method_test ...................... Passed 0.11 sec Start 7: remote_method_test 7/32 Test #7: remote_method_test ............... Passed 0.05 sec Start 8: functors_test 8/32 Test #8: functors_test .................... Passed 0.03 sec Start 9: service_test 9/32 Test #9: service_test ..................... Passed 0.03 sec Start 10: service_port_test 10/32 Test #10: service_port_test ................ Passed 0.02 sec Start 11: event_test 11/32 Test #11: event_test ....................... Passed 0.11 sec Start 12: operation_test 12/32 Test #12: operation_test ................... Passed 0.02 sec Start 13: taskstates_test 13/32 Test #13: taskstates_test .................. Passed 0.83 sec Start 14: ports_test 14/32 Test #14: ports_test ....................... Passed 0.05 sec Start 15: attributes_test 15/32 Test #15: attributes_test .................. Passed 0.02 sec Start 16: dev_test 16/32 Test #16: dev_test ......................... Passed 0.02 sec Start 17: scripting_test 17/32 Test #17: scripting_test ...................***Failed 0.30 sec Start 18: types_test 18/32 Test #18: types_test .......................***Exception: SegFault 3.72 sec Start 19: program_test 19/32 Test #19: program_test .....................***Failed 0.33 sec Start 20: state_test 20/32 Test #20: state_test .......................***Failed 0.27 sec Start 21: function_test 21/32 Test #21: function_test ....................***Failed 0.22 sec Start 22: marshalling_test 22/32 Test #22: marshalling_test .................***Failed 0.03 sec Start 23: property_loader_test 23/32 Test #23: property_loader_test .............***Failed 0.03 sec Start 24: property_marsh_test 24/32 Test #24: property_marsh_test ..............***Failed 0.01 sec Start 25: property_test 25/32 Test #25: property_test ....................***Failed 0.03 sec Start 26: type_discovery_test 26/32 Test #26: type_discovery_test .............. Passed 0.02 sec Start 27: type_discovery_struct_test 27/32 Test #27: type_discovery_struct_test ....... Passed 0.02 sec Start 28: type_discovery_container_test 28/32 Test #28: type_discovery_container_test .... Passed 0.01 sec Start 29: enum_type_test 29/32 Test #29: enum_type_test ...................***Exception: SegFault 1.09 sec Start 30: datasource_test 30/32 Test #30: datasource_test .................. Passed 0.00 sec Start 31: typekit_test 31/32 Test #31: typekit_test ..................... Passed 0.02 sec Start 32: plugins_test 32/32 Test #32: plugins_test ..................... Passed 0.02 sec 69% tests passed, 10 tests failed out of 32 Total Test time (real) = 34.08 sec The following tests FAILED: 17 - scripting_test (Failed) 18 - types_test (SEGFAULT) 19 - program_test (Failed) 20 - state_test (Failed) 21 - function_test (Failed) 22 - marshalling_test (Failed) 23 - property_loader_test (Failed) 24 - property_marsh_test (Failed) 25 - property_test (Failed) 29 - enum_type_test (SEGFAULT) Errors while running CTest mingw32-make: *** [test] Error 8
This is the output of one of the tests that failed (enum_type_test):
C:\CodingXP\Sources & Projects\orocos\build_orocos-toolchain-2.1.1_mingw4.4.0\tests>enum_type_test 0.000 [ Info ][Logger] Successfully extracted environment variable ORO_LOGLEVEL 0.001 [ Info ][Logger] OROCOS version '2.1.1' compiled with GCC 4.4.0.Orocos Logging Activated at level : [ Debug ] ( 6 ) 0.002 [ Info ][Logger] Reference System Time is : 10156845233402 ticks ( 10156.8 seconds ). 0.004 [ Info ][Logger] Logging is relative to this time. 0.021 [ Debug ][Logger] MainThread started. 0.022 [ Debug ][Logger] Starting StartStopManager. 0.023 [ Info ][Logger] No RTT_COMPONENT_PATH set. Using default. 0.025 [ Info ][Logger] Loading plugin libraries from directory C:/orocos-rtt/lib/orocos/plugins ... 0.027 [ Debug ][Logger] Scanning file C:/orocos-rtt/lib/orocos/plugins/libservice_plugin.dll ...Found library libservice_plugin.dll 0.028 [ Info ][Logger] Loaded RTT Plugin 'serviceplugin' from 'service_plugin' 0.029 [ Debug ][Logger] No such directory: C:/orocos-rtt/lib/orocos/plugins/win32 0.031 [ Info ][Logger] Loading plugin libraries from directory C:/orocos-rtt/lib/orocos/types ... 0.033 [ Debug ][Logger] Scanning file C:/orocos-rtt/lib/orocos/types/libtypekit_plugin.dll ...Found library libtypekit_plugin.dll 0.034 [ Info ][TypekitRepository::Import] Loading Typekit TypesPluginTest. 0.036 [ Info ][Logger] Loaded RTT TypeKit/Transport 'TypesPluginTest' from 'typekit_plugin' 0.037 [ Debug ][Logger] No such directory: C:/orocos-rtt/lib/orocos/types/win32 Running 4 test cases... 0.040 [ Debug ][Logger] LogLevel unaltered by test-runner. Failed to register enum<-> int conversion because type int is not known in type system. Registered Type 'TheEnum' to the Orocos Type System. C:/CodingXP/Sources & Projects/orocos/orocos-toolchain-2.1.1/rtt/tests/enum_type_test.cpp(83): fatal error in "testEnumIntConversion": critical check Types()->type("int") failed 0.052 [ Warning][Logger] Overriding TypeInfo for 'TheEnum'. Failed to register enum<-> int conversion because type int is not known in type system. Attempt to register Type 'TheEnum' twice to the Orocos Type System. 0.058 [ Debug ][Logger] Registered Type 'TheEnum' to the Orocos Type System. C:/CodingXP/Sources & Projects/orocos/orocos-toolchain-2.1.1/rtt/tests/enum_type_test.cpp(121): fatal error in "testEnumStringConversion": critical check ts failed 0.062 [ Info ][Thread] Creating Thread for scheduler: 1 0.064 [ Info ][TC] Thread created with scheduler type '1', priority 0 and period 0. 0.066 [ Info ][Thread] Creating Thread for scheduler: 1 0.068 [ Info ][GlobalEngine] Thread created with scheduler type '1', priority 0 and period 0. 0.070 [ Warning][Logger] Overriding TypeInfo for 'TheEnum'. Failed to register enum<-> int conversion because type int is not known in type system. Attempt to register Type 'TheEnum' twice to the Orocos Type System. 0.110 [ Debug ][Logger] Registered Type 'TheEnum' to the Orocos Type System. 0.112 [ ERROR ][TypeInfoName] Creating enum_type_test_int_save.cpf No enum-to-string mapping defined for enum TheEnum. Converting to int. Can not build Property of unknown_t.
So OROCOS 2.1.1 built with MinGW seems to be broken.
Orocos Toolchain 2.1.1 MinGW test output
This is the output after running all Orocos test for an Orocos MinGW build:
This is the output of one of the tests that failed (enum_type_test):
So OROCOS 2.1.1 built with MinGW seems to be broken.