<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[output test results to stdout using -o]]></title><description><![CDATA[<p dir="auto">The Qt Test overview specifies that the test log can be output to stdout this way: <em>-o filename,format</em><br />
"<br />
"[-o <em>filename,format</em>] Writes output to the specified file, in the specified format (one of txt, xml, lightxml, xunitxml or tap). <strong>The special filename - may be used to log to standard output.</strong>"</p>
<p dir="auto">Here it says that a special filename can be used to route it to stdout. I have tried using "-" as the filename but this doesn't register, and instead I get "<em>-o needs an extra parameter specifying the filename and optional format</em>"</p>
<p dir="auto">Any help would be greatly appreciated.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/topic/114742/output-test-results-to-stdout-using-o</link><generator>RSS for Node</generator><lastBuildDate>Mon, 28 Sep 2026 20:11:43 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/114742.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 May 2020 22:18:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to output test results to stdout using -o on Thu, 14 May 2020 00:20:26 GMT]]></title><description><![CDATA[<p dir="auto">I should have specified that I am trying to log in multiple formats simultaneously. My bad.</p>
<p dir="auto">From your link:<br />
"<em>The first version of the -o option (<code>-o filename,format</code>), may be repeated in order to log test results in multiple formats, but no more than one instance of this option can log test results to standard output.</em>"</p>
<p dir="auto">So, if I want to log to a file and stdout simultaneously, I believe this is the only option.</p>
]]></description><link>https://forum.qt.io/post/594577</link><guid isPermaLink="true">https://forum.qt.io/post/594577</guid><dc:creator><![CDATA[Brynnjolf]]></dc:creator><pubDate>Thu, 14 May 2020 00:20:26 GMT</pubDate></item><item><title><![CDATA[Reply to output test results to stdout using -o on Wed, 13 May 2020 10:21:45 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://doc.qt.io/qt-5/qtest-overview.html#options" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/qtest-overview.html#options</a></p>
<p dir="auto">just use <code>-txt</code></p>
]]></description><link>https://forum.qt.io/post/594433</link><guid isPermaLink="true">https://forum.qt.io/post/594433</guid><dc:creator><![CDATA[VRonin]]></dc:creator><pubDate>Wed, 13 May 2020 10:21:45 GMT</pubDate></item><item><title><![CDATA[Reply to output test results to stdout using -o on Wed, 13 May 2020 05:47:40 GMT]]></title><description><![CDATA[<p dir="auto">yeah, the syntax I've used is <code>-o -,txt</code></p>
]]></description><link>https://forum.qt.io/post/594388</link><guid isPermaLink="true">https://forum.qt.io/post/594388</guid><dc:creator><![CDATA[Brynnjolf]]></dc:creator><pubDate>Wed, 13 May 2020 05:47:40 GMT</pubDate></item><item><title><![CDATA[Reply to output test results to stdout using -o on Wed, 13 May 2020 05:04:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brynnjolf">@<bdi>Brynnjolf</bdi></a> Did you also specify the format?</p>
]]></description><link>https://forum.qt.io/post/594382</link><guid isPermaLink="true">https://forum.qt.io/post/594382</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 13 May 2020 05:04:25 GMT</pubDate></item></channel></rss>