Error / Bug: rtt/tests/ types_test fails with AType assignment - command for running test
Sandra Beyer <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Message-ID | <[email protected]> |
Sorry, I typed the wrong command for running the test. That's the correct command: ctest -R types_test Still got the same problem in the second assertion Thanks for the help Von: [email protected] [mailto:[email protected]] Im Auftrag von Sandra Beyer Gesendet: Montag, 2. Dezember 2013 14:45 An: '[email protected]' Betreff: [Orocos-Dev] Error / Bug: rtt/tests/ types_test fails with AType assignment 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