aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackboxqt.cpp
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-08-16 01:54:24 -0700
committerJake Petroules <jake.petroules@qt.io>2017-08-23 08:55:49 +0000
commit800eab6fc2ad4203bea4ab4eb2b20862c6edb2a2 (patch)
treef2d8fbf93416a0a7c67f2ca9b6fa9201bf8aa18b /tests/auto/blackbox/tst_blackboxqt.cpp
parentca1d2a7ffdabcb3de4477427d23b7d309ec33c02 (diff)
Move all remaining manual tests into autotests
Most of these are easily automatable, and are more useful being run automatically in every integration rather than manually, and probably never. Adapt tests as necessary. Change-Id: Ie158481ad8c45ad8d808feacd98c71972dc18900 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxqt.cpp')
-rw-r--r--tests/auto/blackbox/tst_blackboxqt.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackboxqt.cpp b/tests/auto/blackbox/tst_blackboxqt.cpp
index ae7c8dd92..f0ec35708 100644
--- a/tests/auto/blackbox/tst_blackboxqt.cpp
+++ b/tests/auto/blackbox/tst_blackboxqt.cpp
@@ -190,6 +190,16 @@ void TestBlackboxQt::mocFlags()
QVERIFY(runQbs(params) != 0);
}
+void TestBlackboxQt::pkgconfig()
+{
+ QDir::setCurrent(testDataDir + "/pkgconfig");
+ QbsRunParameters params;
+ params.command = "run";
+ QCOMPARE(runQbs(params), 0);
+ if (m_qbsStdout.contains("Skip this test"))
+ QSKIP("pkgconfig or Qt not found");
+}
+
void TestBlackboxQt::pluginMetaData()
{
QDir::setCurrent(testDataDir + "/plugin-meta-data");