aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/cmdlineparser
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-09-01 17:59:02 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-09-04 07:39:47 +0000
commitbaebbc720398644320485a04410d5efd56527a69 (patch)
tree28aca3c9b8fcb37e317cb38f46f92b5bdfe0dba4 /tests/auto/cmdlineparser
parent2afb38812929fd9bcb526f8633dc55772696dcf3 (diff)
Remove the --force option
It hasn't been in use for a while now. Change-Id: I85c22d44309727ee458414cad0fb42c312030a9b Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/cmdlineparser')
-rw-r--r--tests/auto/cmdlineparser/tst_cmdlineparser.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/cmdlineparser/tst_cmdlineparser.cpp b/tests/auto/cmdlineparser/tst_cmdlineparser.cpp
index de8ecc0b6..3dbcb5cec 100644
--- a/tests/auto/cmdlineparser/tst_cmdlineparser.cpp
+++ b/tests/auto/cmdlineparser/tst_cmdlineparser.cpp
@@ -60,7 +60,6 @@ private slots:
args.append("-v");
args << "--products" << "blubb";
args << "--changed-files" << "foo,bar" << fileArgs;
- args << "--force";
args << "--check-timestamps";
args << "--check-outputs";
CommandLineParser parser;
@@ -71,7 +70,6 @@ private slots:
QCOMPARE(parser.products(), QStringList() << "blubb");
QCOMPARE(parser.buildOptions(QString()).changedFiles().count(), 2);
QVERIFY(parser.buildOptions(QString()).keepGoing());
- QVERIFY(parser.force());
QVERIFY(parser.forceTimestampCheck());
QVERIFY(parser.forceOutputCheck());
QVERIFY(!parser.logTime());
@@ -79,7 +77,6 @@ private slots:
QVERIFY(parser.parseCommandLine(QStringList() << "-vvvqqq" << fileArgs));
QCOMPARE(ConsoleLogger::instance().logSink()->logLevel(), defaultLogLevel());
- QVERIFY(!parser.force());
QVERIFY(parser.parseCommandLine(QStringList() << "-t" << fileArgs));
QVERIFY(parser.logTime());