[Interest] cpputest with QTest output issue on embedded target console
Henry Skoglund
henry at tungware.se
Sun Dec 8 19:47:56 CET 2019
On 2019-12-08 19:19, Thiago Macieira wrote:
> 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.
>
Yes, I remember seeing that output before, it's an old bug/feature of
cpputest
more here: https://github.com/cpputest/cpputest/issues/37
More information about the Interest
mailing list