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/q3dcustom-label/tst_custom.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/q3dcustom-label/tst_custom.cpp')
-rw-r--r-- | tests/auto/cpptest/q3dcustom-label/tst_custom.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/cpptest/q3dcustom-label/tst_custom.cpp b/tests/auto/cpptest/q3dcustom-label/tst_custom.cpp index 1c45c908..44c9d2b2 100644 --- a/tests/auto/cpptest/q3dcustom-label/tst_custom.cpp +++ b/tests/auto/cpptest/q3dcustom-label/tst_custom.cpp @@ -31,6 +31,8 @@ #include <QtDataVisualization/QCustom3DLabel> +#include "cpptestutil.h" + using namespace QtDataVisualization; class tst_custom: public QObject @@ -55,6 +57,8 @@ private: void tst_custom::initTestCase() { + if (!CpptestUtil::isOpenGLSupported()) + QSKIP("OpenGL not supported on this platform"); } void tst_custom::cleanupTestCase() |