Test: Update QSKIP for tst_QGLThread on Mac
authorCaroline Chao <caroline.chao@nokia.com>
Wed, 5 Sep 2012 12:38:18 +0000 (14:38 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 12 Sep 2012 09:01:25 +0000 (11:01 +0200)
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>
tests/auto/opengl/qglthreads/tst_qglthreads.cpp

index 36a65eb..2c259ad 100644 (file)
@@ -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))) {