summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestblacklist_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-04-10 13:55:10 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-05-08 15:11:32 +0000
commit4fe68ffbe5c93244562f2b56292d4ecf5ce39f56 (patch)
treeac8b39a6630ad35495a539bf8599b5590310e27d /src/testlib/qtestblacklist_p.h
parente6ffb36b5517d1d4025718b56423db9bdf0a63f8 (diff)
Add GPU_BLACKLIST support to QTestLib
In addition to BLACKLIST, Qt will now look for GPU_BLACKLIST too. Test cases that are specified as disabled in the GPU blacklist will be skipped. This is particularly relevant when running tests on Embedded Linux devices. For example, the following JSON would configure the test case glxContextWrap to be skipped on drivers where GL_VENDOR contains UnstableDriverVendor: { "entries": [ { "gl_vendor": "UnstableDriverVendor", "features": [ "disable_glxContextWrap" ] } ] } In contrast to the regular blacklist, GPU-blacklisted test cases are not run at all. This is because driver problems and instabilities often lead to crashes. Change-Id: I340cf5c0261a206109b78409774408981bba5c68 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/testlib/qtestblacklist_p.h')
-rw-r--r--src/testlib/qtestblacklist_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testlib/qtestblacklist_p.h b/src/testlib/qtestblacklist_p.h
index 158d99593e..0107e5d282 100644
--- a/src/testlib/qtestblacklist_p.h
+++ b/src/testlib/qtestblacklist_p.h
@@ -51,7 +51,8 @@ QT_BEGIN_NAMESPACE
namespace QTestPrivate {
void parseBlackList();
- void checkBlackList(const char *slot, const char *data);
+ void parseGpuBlackList();
+ void checkBlackLists(const char *slot, const char *data);
}
QT_END_NAMESPACE