diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-09-09 13:55:31 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-09-09 21:57:24 +0000 |
commit | f6a48c06d3090e553867db327665b3cc44d9b21a (patch) | |
tree | 4c074df93a40fe6784c10d4da0912aa06a67e05f /tests/auto/positionplugin | |
parent | 84ee5b304d1ab87bc2addb21fb684cc2b9a68d00 (diff) | |
download | qtlocation-f6a48c06d3090e553867db327665b3cc44d9b21a.tar.gz |
Skip loading real plugins in tests
Introduce a new plugin metadata field "Testable" that can be used to
indicate that using the plugin in question in test runs (e.g. in a CI
environment) is dangerous. We can then check for QT_QTESTLIB_RUNNING
and skip the plugin in question.
Change-Id: Iabe9f1600d7274e0e9224dc49d02aa2e5d3cabd6
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'tests/auto/positionplugin')
-rw-r--r-- | tests/auto/positionplugin/plugin.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/positionplugin/plugin.json b/tests/auto/positionplugin/plugin.json index c16b7a8d..68acaded 100644 --- a/tests/auto/positionplugin/plugin.json +++ b/tests/auto/positionplugin/plugin.json @@ -4,5 +4,6 @@ "Position": true, "Satellite": false, "Monitor": false, - "Priority": 0 + "Priority": 0, + "Testable": true } |