Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 4.11.0-rc1
-
None
Description
When running tests with Gtest qt creator runs them ok but presenting output is broken.
See:
And log:
Running main() from /tmp/googletest/googletest/src/gtest_main.cc Note: Google Test filter = XYZ.* [==========] Running 9 tests from 1 test case. [----------] Global test environment set-up. [----------] 9 tests from XYZ [ RUN ] XYZ.AA [31m[ERROR] [0m [31mSomething : [0m[31mConfig provided has plugin entries with same name, cannot proceed! [0m[ OK ] XYZ.AA (1 ms) [ RUN ] XYZ.BB [ OK ] XYZ.BB (0 ms) [ RUN ] XYZ.CC [31m[ERROR] [0m [31mSomething : [0m[31mId's in config are not unique, found duplicated id with value 1 for type IPC[0m[ OK ] XYZ.CC (0 ms) [ RUN ] XYZ.DD [ OK ] XYZ.DD (0 ms) [ RUN ] XYZ.EE [31m[ERROR] [0m [31mSomething : [0m[31mNot known plugin (NonExisting) to load, can't continue. [0m[ OK ] XYZ.EE (0 ms) [ RUN ] XYZ.FF [ OK ] XYZ.FF (1 ms) [ RUN ] XYZ.GG[WARNING] /tmp/googletest/googletest/src/gtest-death-test.cc:1050:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 2 threads. See https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out. [ OK ] XYZ.GG (130 ms) [ RUN ] XYZ.HH[WARNING] /tmp/googletest/googletest/src/gtest-death-test.cc:1050:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 2 threads. See https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out. [ OK ] XYZ.HH (129 ms) [ RUN ] XYZ.II[WARNING] /tmp/googletest/googletest/src/gtest-death-test.cc:1050:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 2 threads. See https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out. [ OK ] XYZ.II (1003 ms) [----------] 9 tests from XYZ (1264 ms total)[----------] Global test environment tear-down [==========] 9 tests from 1 test case ran. (1264 ms total) [ PASSED ] 9 tests.
Even disabling colored output do not work always:
Running main() from /tmp/googletest/googletest/src/gtest_main.cc Note: Google Test filter = XYZ.* [==========] Running 9 tests from 1 test case. [----------] Global test environment set-up. [----------] 9 tests from XYZ [ RUN ] XYZ.AA [ERROR] Something : Config provided has plugin entries with same name, cannot proceed! [ OK ] XYZ.AA (0 ms) [ RUN ] XYZ.BB [ OK ] XYZ.BB (0 ms) [ RUN ] XYZ.CC [ERROR] Something : Id's in config are not unique, found duplicated id with value 1 for type IPC[ OK ] XYZ.CC (1 ms) [ RUN ] XYZ.DD [ OK ] XYZ.DD (0 ms) [ RUN ] XYZ.EE [ OK ] XYZ.EE (0 ms) [ RUN ] XYZ.FF [ERROR] Something : Not known plugin (NonExisting) to load, can't continue. [ OK ] XYZ.FF (0 ms) [ RUN ] XYZ.GG[WARNING] /tmp/googletest/googletest/src/gtest-death-test.cc:1050:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 2 threads. See https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out. [ OK ] XYZ.GG (136 ms) [ RUN ] XYZ.HH[WARNING] /tmp/googletest/googletest/src/gtest-death-test.cc:1050:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 2 threads. See https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out. [ OK ] XYZ.HH (129 ms) [ RUN ] XYZ.II[WARNING] /tmp/googletest/googletest/src/gtest-death-test.cc:1050:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 2 threads. See https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out. [ OK ] XYZ.II (1003 ms) [----------] 9 tests from XYZ (1271 ms total)[----------] Global test environment tear-down [==========] 9 tests from 1 test case ran. (1271 ms total) [ PASSED ] 9 tests.
Attachments
Issue Links
- resulted in
-
QTCREATORBUG-23354 Add support for gtest internal logging
- Closed