diff options
author | Eirik Aavitsland <eirik.aavitsland@theqtcompany.com> | 2015-11-25 11:27:03 +0100 |
---|---|---|
committer | aavit <eirik.aavitsland@theqtcompany.com> | 2015-11-25 11:18:32 +0000 |
commit | 6a7f3bfcb81b56a29814f50e684620fc3daeb431 (patch) | |
tree | c6b896bf4e5705aaafb4d989cc1a78b520f1b142 /src | |
parent | 2ca54cf19660ded8be8225a7181d8f6930c4d9e8 (diff) | |
download | qtimageformats-6a7f3bfcb81b56a29814f50e684620fc3daeb431.tar.gz |
Skip (pass) each autotest if the corresponding handler not present
Add a check at initialization of each autotest, skipping it if the
relevant plugin is not installed. This is the same as in the
qtimagereader autotest in qtbase (SKIP_IF_UNSUPPORTED macro).
Reason for change: Not all format handlers are supported on all
platforms. Hence, the suite of autotests ("make check") should not
fail on account of a missing plugin.
Change-Id: Ic0f4da68a9527831f017db0f326afe6e631efd9e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions