diff options
author | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2016-03-23 12:03:00 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2016-03-23 11:46:30 +0000 |
commit | 6e904b95bd15b542fb7dc846c80ec705c9155d51 (patch) | |
tree | 20ec3471afa2a44bbdb1e28b379aa04788c4e39e /tests | |
parent | 3c598a82f40cec8ad45090f7ade95bf31d9f8ec5 (diff) |
Fix failing auto-test.
Change-Id: If948400f15f9dcb43e4f47293ee58428993375f7
Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/installer/scriptengine/tst_scriptengine.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/installer/scriptengine/tst_scriptengine.cpp b/tests/auto/installer/scriptengine/tst_scriptengine.cpp index 48223a821..f02946148 100644 --- a/tests/auto/installer/scriptengine/tst_scriptengine.cpp +++ b/tests/auto/installer/scriptengine/tst_scriptengine.cpp @@ -489,6 +489,9 @@ private slots: void testAddOperation_AddElevatedOperation() { +#if QT_VERSION < 0x50600 + QSKIP("Behavior changed from 5.6.0 onwards."); +#endif using namespace KDUpdater; UpdateOperationFactory &factory = UpdateOperationFactory::instance(); factory.registerUpdateOperation<EmptyArgOperation>(QLatin1String("EmptyArg")); @@ -498,7 +501,7 @@ private slots: Component *component = m_core.componentByName("component.test.addOperation"); component->loadComponentScript(":///data/addOperation.qs"); - setExpectedScriptOutput("\"Component::createOperations()\""); + setExpectedScriptOutput("Component::createOperations()"); component->createOperations(); const OperationList operations = component->operations(); |