diff options
author | Caroline Chao <caroline.chao@nokia.com> | 2012-09-05 14:38:18 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-12 11:01:25 +0200 |
commit | b88534c2d4a949110a66aded18dd068d95fd8c83 (patch) | |
tree | d0ff53fb69150c7efeed68b22c2a23f46a4a0df0 /tests/auto/opengl | |
parent | 7d9b5e8e7d2094dedbe7e3e2f961544f233ce57e (diff) |
Test: Update QSKIP for tst_QGLThread on Mac
Task-number: QTBUG-22361
Change-Id: I6182a37dc38294011fd3b3934317f22c7297a4ca
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: J-P Nurmi <j-p.nurmi@nokia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests/auto/opengl')
-rw-r--r-- | tests/auto/opengl/qglthreads/tst_qglthreads.cpp | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/tests/auto/opengl/qglthreads/tst_qglthreads.cpp b/tests/auto/opengl/qglthreads/tst_qglthreads.cpp index 36a65ebbe2..2c259ade6b 100644 --- a/tests/auto/opengl/qglthreads/tst_qglthreads.cpp +++ b/tests/auto/opengl/qglthreads/tst_qglthreads.cpp @@ -141,7 +141,8 @@ public: void tst_QGLThreads::swapInThread() { #ifdef Q_OS_MAC - QSKIP("OpenGL threading tests are currently disabled on mac as they were causing reboots"); + // The test is crashing but there are risks of reboot so keeping QSKIP here. + QSKIP("QTBUG-22361"); #endif QGLFormat format; @@ -250,7 +251,8 @@ private: void tst_QGLThreads::textureUploadInThread() { #ifdef Q_OS_MAC - QSKIP("OpenGL threading tests are currently disabled on mac as they were causing reboots"); + // The test is crashing but there are risks of reboot so keeping QSKIP here. + QSKIP("QTBUG-22361"); #endif TextureDisplay display; @@ -425,7 +427,8 @@ void tst_QGLThreads::renderInThread_data() void tst_QGLThreads::renderInThread() { #ifdef Q_OS_MAC - QSKIP("OpenGL threading tests are currently disabled on Mac as they were causing reboots"); + // The test is crashing but there are risks of reboot so keeping QSKIP here. + QSKIP("QTBUG-22361"); #endif QFETCH(bool, resize); @@ -633,7 +636,8 @@ private: void tst_QGLThreads::painterOnGLWidgetInThread() { #ifdef Q_OS_MAC - QSKIP("OpenGL threading tests are currently disabled on Mac as they were causing reboots"); + // The test is crashing but there are risks of reboot so keeping QSKIP here. + QSKIP("QTBUG-22361"); #endif if (!((QGLFormat::openGLVersionFlags() & QGLFormat::OpenGL_Version_2_0) || (QGLFormat::openGLVersionFlags() & QGLFormat::OpenGL_ES_Version_2_0))) { @@ -656,6 +660,10 @@ void tst_QGLThreads::painterOnGLWidgetInThread() */ void tst_QGLThreads::painterOnPixmapInThread() { +#ifdef Q_OS_MAC + // The test is crashing but there are risks of reboot so keeping QSKIP here. + QSKIP("QTBUG-22361"); +#endif #ifdef Q_WS_X11 QSKIP("Drawing text in threads onto X11 drawables currently crashes on some X11 servers."); #endif @@ -675,7 +683,8 @@ void tst_QGLThreads::painterOnPixmapInThread() void tst_QGLThreads::painterOnPboInThread() { #ifdef Q_OS_MAC - QSKIP("OpenGL threading tests are currently disabled on Mac as they were causing reboots"); + // The test is crashing but there are risks of reboot so keeping QSKIP here. + QSKIP("QTBUG-22361"); #endif if (!((QGLFormat::openGLVersionFlags() & QGLFormat::OpenGL_Version_2_0) || (QGLFormat::openGLVersionFlags() & QGLFormat::OpenGL_ES_Version_2_0))) { @@ -703,7 +712,8 @@ void tst_QGLThreads::painterOnPboInThread() void tst_QGLThreads::painterOnFboInThread() { #ifdef Q_OS_MAC - QSKIP("OpenGL threading tests are currently disabled on Mac as they were causing reboots"); + // The test is crashing but there are risks of reboot so keeping QSKIP here. + QSKIP("QTBUG-22361"); #endif if (!((QGLFormat::openGLVersionFlags() & QGLFormat::OpenGL_Version_2_0) || (QGLFormat::openGLVersionFlags() & QGLFormat::OpenGL_ES_Version_2_0))) { |