[Interest] cpputest with QTest output issue on embedded target console

Thiago Macieira thiago.macieira at intel.com
Sun Dec 8 19:19:17 CET 2019


On Sunday, 8 December 2019 00:35:04 PST Ramakanth Kesireddy wrote:
>       Something is very wrong. Check this assertion and fix:0: error:
> Deallocating non-allocated memory
>    allocated at file: <unknown> line: 0 size: 0 type: unknown
>    deallocated at file: <unknown> line: 0 type: delete
> 
> Main to run qt unit tests looks like below:
> int main(int argc, char *argv[])
> {
>     qputenv("QT_LOGGING_TO_CONSOLE","1");
>     QApplication app( argc, argv );
>     CommandLineTestRunner::RunAllTests(argc, argv);
>     return 0;
> }

This message didn't come from Qt. Your other unit test tool caused it. Use it 
to debugu what happened.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Interest mailing list