T4ng10r
30th January 2017, 15:13
Hi,
In earlier releases of Qt I found that QTEST_COLORED environment variable generated colored test result. Like green for PASS and red for FAIL.
I tried this lately and it's not working anymore. I've read QTestLib source code for any color related entries and I've found only comment in qplaintestlogger.cpp
// In colored mode, printf above stripped our nonprintable control characters..
Or maybe there are other options to make test results more human readable.
In earlier releases of Qt I found that QTEST_COLORED environment variable generated colored test result. Like green for PASS and red for FAIL.
I tried this lately and it's not working anymore. I've read QTestLib source code for any color related entries and I've found only comment in qplaintestlogger.cpp
// In colored mode, printf above stripped our nonprintable control characters..
Or maybe there are other options to make test results more human readable.