diff options
author | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-06-19 13:31:05 +0300 |
---|---|---|
committer | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-08-11 08:34:35 +0000 |
commit | d8c81e5db3e5aefd87f3f4e552eb791d84ad3d3d (patch) | |
tree | 27e28b5e839ab337644a161910e3fc9ad80c42b7 /tests/auto/cpptest/q3dbars-modelproxy/tst_proxy.cpp | |
parent | 7cdbd6c86e36223189e7a73db80ac0979101a7f0 (diff) |
Enable tests for boot2qt
The tests for boot2qt were disabled with commit
0340120d5f7940c9aebfd0f60328805227f8824d. Some of them
can now be enabled since qtdeclarative fallbacks to software
renderer if OpenGL is not supported. Some tests still need
to be skipped if OpenGL is not supported.
Task-number: QTBUG-60268
Change-Id: I8019859bc88497e08599d0b5f4981b9a3ac071f3
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'tests/auto/cpptest/q3dbars-modelproxy/tst_proxy.cpp')
-rw-r--r-- | tests/auto/cpptest/q3dbars-modelproxy/tst_proxy.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/cpptest/q3dbars-modelproxy/tst_proxy.cpp b/tests/auto/cpptest/q3dbars-modelproxy/tst_proxy.cpp index 2de9380d..dfeee506 100644 --- a/tests/auto/cpptest/q3dbars-modelproxy/tst_proxy.cpp +++ b/tests/auto/cpptest/q3dbars-modelproxy/tst_proxy.cpp @@ -33,6 +33,8 @@ #include <QtDataVisualization/Q3DBars> #include <QtWidgets/QTableWidget> +#include "cpptestutil.h" + using namespace QtDataVisualization; class tst_proxy: public QObject @@ -220,6 +222,9 @@ void tst_proxy::initializeProperties() void tst_proxy::multiMatch() { + if (!CpptestUtil::isOpenGLSupported()) + QSKIP("OpenGL not supported on this platform"); + Q3DBars graph; QTableWidget table; |