aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.cpp')
-rw-r--r--tests/auto/blackbox/tst_blackbox.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp
index ddba191cb..fdccf7467 100644
--- a/tests/auto/blackbox/tst_blackbox.cpp
+++ b/tests/auto/blackbox/tst_blackbox.cpp
@@ -2364,18 +2364,21 @@ void TestBlackbox::pluginDependency()
{
QDir::setCurrent(testDataDir + "/plugin-dependency");
- // Build the plugin.
- QCOMPARE(runQbs(QStringList{"--products", "plugin1,plugin2,plugin3,plugin4"}), 0);
+ // Build the plugins and the helper2 lib.
+ QCOMPARE(runQbs(QStringList{"--products", "plugin1,plugin2,plugin3,plugin4,helper2"}), 0);
QVERIFY(m_qbsStdout.contains("plugin1"));
QVERIFY(m_qbsStdout.contains("plugin2"));
QVERIFY(m_qbsStdout.contains("plugin3"));
QVERIFY(m_qbsStdout.contains("plugin4"));
+ QVERIFY(m_qbsStdout.contains("helper2"));
// Build the app. Plugins 1 and 2 must not be linked. Plugin 3 must be linked.
QCOMPARE(runQbs(QStringList{"--command-echo-mode", "command-line"}), 0);
QByteArray output = m_qbsStdout + '\n' + m_qbsStderr;
QVERIFY(!output.contains("plugin1"));
QVERIFY(!output.contains("plugin2"));
+ QEXPECT_FAIL("", "QBS-1287", Continue);
+ QVERIFY(!output.contains("helper2"));
// Check that the build dependency still works.
QCOMPARE(runQbs(QStringLiteral("clean")), 0);