I run an exe that benchmarks C++ code on my Windows Embedded Compact (WEC2013) i.MX6 platform over telnet. Results go to the serial port and I cannot redirect them to a file, which would be ideal.
My benchmark uses QBENCHMARK and works as expected on Windows desktop. -o filename
also works on Windows desktop.
Using qInstallMessageHandler()
to redirect output to stdout
shows qDebug() output from tested functions on the telnet console (and lots of it!), but test results continue on the serial port. Combining this with -o filename
still does not create an output file.
Any suggestions on how I can get benchmark output into a file?