diff options
author | Jake Petroules <jake.petroules@theqtcompany.com> | 2015-08-12 04:58:34 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@theqtcompany.com> | 2016-03-09 18:01:51 +0000 |
commit | 9fbbff3155b78bd6fe47872d93d97a899ac4f66a (patch) | |
tree | 0bd279744f4c1162d6955f58a2bec68f307ec11e /tests/auto/cmdlineparser/tst_cmdlineparser.cpp | |
parent | 3a0ed06383a729a658b95644bb5dd1280f444b32 (diff) |
Add an option to require transformers to generate all declared outputs.
This ensures that a successful build cannot complete without all output
artifacts of all rules and transformers in the project existing (unless
they are marked alwaysUpdated: false).
This is undesirable to enable by default due to the potential overhead,
but can be a useful debugging tool and so is provided as an option.
Change-Id: I46ee49e28cc06d5aff9a3cfd520f929fef4de3f8
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'tests/auto/cmdlineparser/tst_cmdlineparser.cpp')
-rw-r--r-- | tests/auto/cmdlineparser/tst_cmdlineparser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/cmdlineparser/tst_cmdlineparser.cpp b/tests/auto/cmdlineparser/tst_cmdlineparser.cpp index 60b7bfd73..f1f27d1e8 100644 --- a/tests/auto/cmdlineparser/tst_cmdlineparser.cpp +++ b/tests/auto/cmdlineparser/tst_cmdlineparser.cpp @@ -63,6 +63,7 @@ private slots: args << "--changed-files" << "foo,bar" << fileArgs; args << "--force"; args << "--check-timestamps"; + args << "--check-outputs"; CommandLineParser parser; QVERIFY(parser.parseCommandLine(args)); @@ -73,6 +74,7 @@ private slots: QVERIFY(parser.buildOptions(QString()).keepGoing()); QVERIFY(parser.force()); QVERIFY(parser.forceTimestampCheck()); + QVERIFY(parser.forceOutputCheck()); QVERIFY(!parser.logTime()); QCOMPARE(parser.buildConfigurations().count(), 1); |