aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-01-16 12:21:21 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-01-16 17:49:11 +0100
commit27952cfe8b348e70cfe98379f0542c082c0f019b (patch)
tree85afddcd74815f4ed3fa2bc6a3f54c1b08ffa830
parentcdebe9ded4fb0703595b350db97b345705b875be (diff)
Add XFAIL-ing autotest for newly discovered bug.
Task-number: QBS-729 Change-Id: Iad875ff8910141976b6359a9927ec340622475d2 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-rw-r--r--src/lib/corelib/language/testdata/modules/dummy/dummy.qbs1
-rw-r--r--src/lib/corelib/language/tst_language.cpp6
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/corelib/language/testdata/modules/dummy/dummy.qbs b/src/lib/corelib/language/testdata/modules/dummy/dummy.qbs
index d8f66018f..6f96f9a99 100644
--- a/src/lib/corelib/language/testdata/modules/dummy/dummy.qbs
+++ b/src/lib/corelib/language/testdata/modules/dummy/dummy.qbs
@@ -6,5 +6,6 @@ DummyBase {
property stringList cFlags
property stringList cxxFlags
property string someString
+ property string productName: product.name
property string zort: "zort in dummy"
}
diff --git a/src/lib/corelib/language/tst_language.cpp b/src/lib/corelib/language/tst_language.cpp
index b267d8a63..3857e48e6 100644
--- a/src/lib/corelib/language/tst_language.cpp
+++ b/src/lib/corelib/language/tst_language.cpp
@@ -419,8 +419,12 @@ void TestLanguage::exports()
<< "modules" << "dummy" << "defines";
QVariant propertyValue = getConfigProperty(product->moduleProperties->value(), propertyName);
QCOMPARE(propertyValue.toStringList(), QStringList() << "USE_MYLIB");
- product = products.value("mylib");
+ QEXPECT_FAIL(0, "QBS-729", Continue);
+ QCOMPARE(PropertyFinder().propertyValue(product->moduleProperties->value(), "dummy",
+ "productName").toString(), QString("myapp"));
+
+ product = products.value("mylib");
QVERIFY(product);
propertyName = QStringList() << "modules" << "dummy" << "defines";
propertyValue = getConfigProperty(product->moduleProperties->value(), propertyName);