summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorJo Asplin <jo.asplin@nokia.com>2011-11-08 14:06:10 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-10 09:32:07 +0100
commit598953a99f4ae15def34d3f796065f04f0732792 (patch)
tree996b8b8b0c4ef1070a4502b0aae32e100563938d /tests/auto
parentdca7840ee4d64fb6e88a7b1d06dc8d233189df78 (diff)
downloadqtlocation-598953a99f4ae15def34d3f796065f04f0732792.tar.gz
Fixed typo: private-tests -> private_tests
Change-Id: Id55ffc6d06e7d136d493007e4af2a27aeb17c285 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/auto.pro2
-rw-r--r--tests/auto/sphere/tst_sphere.cpp9
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 45719894..e0ff17bb 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -40,5 +40,5 @@ contains(config_test_jsondb, yes) {
SUBDIRS += qplacemanager_jsondb
}
-!contains(QT_CONFIG,private-tests):SUBDIRS -= \
+!contains(QT_CONFIG,private_tests):SUBDIRS -= \
sphere
diff --git a/tests/auto/sphere/tst_sphere.cpp b/tests/auto/sphere/tst_sphere.cpp
index e0319073..dc9aa098 100644
--- a/tests/auto/sphere/tst_sphere.cpp
+++ b/tests/auto/sphere/tst_sphere.cpp
@@ -62,6 +62,9 @@ public:
}
+public slots:
+ void initTestCase();
+
private slots:
void x_plane();
void x_plane_data();
@@ -87,6 +90,12 @@ private:
Sphere planeTest(const QList<QPlane3D> &planes, const QList<int> &planeIndices) const;
};
+void tst_Sphere::initTestCase()
+{
+#if defined(Q_OS_LINUX)
+ QSKIP("Fails on Linux - see QTBUG-22634");
+#endif
+}
Sphere tst_Sphere::emptySphere(double radius) const
{