diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2015-02-19 20:51:15 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@petroules.com> | 2015-02-25 15:40:32 +0000 |
commit | 64cbb7c8cd0c5b4dacad94a88464f8c3b2e59fc1 (patch) | |
tree | 905c7d40d52d80424b9bf32332241d41f04f492e /tests/auto/cmdlineparser | |
parent | 6c9de0488a8fcee5e88c00d1df07f9c11e8bacfc (diff) |
Replace --show-command-lines with --command-echo-mode.
This allows users to hide command output entirely without changing the
logging level. It is also used by the generator command to hide the dry
run command "executions" it performs when creating the build graph for
project generation.
Change-Id: I27a64c8138521001f5b62473b4a3b4ff46d8ba25
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'tests/auto/cmdlineparser')
-rw-r--r-- | tests/auto/cmdlineparser/tst_cmdlineparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/cmdlineparser/tst_cmdlineparser.cpp b/tests/auto/cmdlineparser/tst_cmdlineparser.cpp index e1dbd1ddb..60b7bfd73 100644 --- a/tests/auto/cmdlineparser/tst_cmdlineparser.cpp +++ b/tests/auto/cmdlineparser/tst_cmdlineparser.cpp @@ -69,8 +69,8 @@ private slots: QCOMPARE(ConsoleLogger::instance().logSink()->logLevel(), LoggerTrace); QCOMPARE(parser.command(), BuildCommandType); QCOMPARE(parser.products(), QStringList() << "blubb"); - QCOMPARE(parser.buildOptions().changedFiles().count(), 2); - QVERIFY(parser.buildOptions().keepGoing()); + QCOMPARE(parser.buildOptions(QString()).changedFiles().count(), 2); + QVERIFY(parser.buildOptions(QString()).keepGoing()); QVERIFY(parser.force()); QVERIFY(parser.forceTimestampCheck()); QVERIFY(!parser.logTime()); |