Error / Bug: rtt/tests/ types_test fails with AType assignment
Sandra Beyer <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Orocos-developers,
I didn't know if my problem is really a topic for the orocos-users mailing list, that's why I post my problem here again.
I test the behaviour of own struct data types with rtt/tests/types_test.cpp. I extended in BOOST_AUTO_TEST_CASE( testTypes ) the following:
In the beginning:
Types()->addType( new StructTypeInfo<AType,false>("astruct"));
Extension of string test:
"var astruct aVar\n" +
"var astruct bVar\n" +
"aVar.a = 42\n" +
"do test.assertMsg(aVar.a == 42, \"aVar.a != 42 assignement failed - testTypes\")\n" +
"bVar = aVar\n" +
"do test.assertMsg(bVar.a == 42, \"aVar.a != 42 assignement failed - testTypes\")\n" +
ctest -R testTypes fails in the second assertion. So the assignment operator doesn't work with own struct types. Any suggestions how I can fix this problem?
I'm using the orocos-toolchain2.6
Thanks
Sandra
--
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev