summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-07-14 08:31:32 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-07-14 08:31:32 (GMT)
commit5bcb42d8f47f7206e9c0776b67a4c990ac93aa34 (patch)
tree88d63d32bb46c3ea10c018d76a9f910801ae7bac
parent11c669e2a56b6b4de0a40393167887d53f3134a6 (diff)
downloadQt-5bcb42d8f47f7206e9c0776b67a4c990ac93aa34.zip
Qt-5bcb42d8f47f7206e9c0776b67a4c990ac93aa34.tar.gz
Qt-5bcb42d8f47f7206e9c0776b67a4c990ac93aa34.tar.bz2
tst_QGL: Skip all QGL test on mac as they crash and prevent integration
See QTBUG-12138
-rw-r--r--tests/auto/qgl/tst_qgl.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/tests/auto/qgl/tst_qgl.cpp b/tests/auto/qgl/tst_qgl.cpp
index c71824a..d6a6e9c 100644
--- a/tests/auto/qgl/tst_qgl.cpp
+++ b/tests/auto/qgl/tst_qgl.cpp
@@ -72,7 +72,9 @@ public:
tst_QGL();
virtual ~tst_QGL();
+#ifndef Q_WS_MAC //All tests are disabled on mac as they crash and prevent integration, see QTBUG-12138
private slots:
+#endif
void getSetCheck();
void openGLVersionCheck();
void graphicsViewClipping();
@@ -838,9 +840,6 @@ public:
void tst_QGL::graphicsViewClipping()
{
-#ifdef Q_WS_MAC
- QSKIP("Prevent integration, see QTBUG-12138", SkipAll);
-#endif
const int size = 64;
UnclippedWidget *widget = new UnclippedWidget;
widget->setFixedSize(size, size);
@@ -943,10 +942,6 @@ void tst_QGL::partialGLWidgetUpdates()
// This tests that rendering to a QGLPBuffer using QPainter works.
void tst_QGL::glPBufferRendering()
{
-#ifdef Q_WS_MAC
- QSKIP("Prevent integration, see QTBUG-12138", SkipAll);
-#endif
-
if (!QGLPixelBuffer::hasOpenGLPbuffers())
QSKIP("QGLPixelBuffer not supported on this platform", SkipSingle);
@@ -1290,9 +1285,6 @@ protected:
void tst_QGL::glFBOUseInGLWidget()
{
-#ifdef Q_WS_MAC
- QSKIP("Prevent integration, see QTBUG-12138", SkipAll);
-#endif
if (!QGLFramebufferObject::hasOpenGLFramebufferObjects())
QSKIP("QGLFramebufferObject not supported on this platform", SkipSingle);
@@ -1689,10 +1681,6 @@ protected:
void tst_QGL::replaceClipping()
{
-#ifdef Q_WS_MAC
- QSKIP("Prevent integration, see QTBUG-12138", SkipAll);
-#endif
-
ReplaceClippingGLWidget glw;
#ifdef Q_WS_QWS
glw.setWindowFlags(Qt::FramelessWindowHint);