summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-06-25 06:30:59 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-06-25 06:30:59 (GMT)
commitc91030e308f8cd9ad66e7de127a1f9dbbedd11d3 (patch)
treebe2e732f4a58151bbdaf7af54bbe4eac41dd3636 /tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp
parenta0d4f94c0eb3f724df979d9d22c4c944f34d547a (diff)
downloadQt-c91030e308f8cd9ad66e7de127a1f9dbbedd11d3.zip
Qt-c91030e308f8cd9ad66e7de127a1f9dbbedd11d3.tar.gz
Qt-c91030e308f8cd9ad66e7de127a1f9dbbedd11d3.tar.bz2
Test only on X11, not only on Linux (which includes embedded).
Diffstat (limited to 'tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp b/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp
index dc92f07..8a4f152 100644
--- a/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp
+++ b/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp
@@ -424,7 +424,7 @@ void tst_qdeclarativetext::alignments()
QFETCH(int, vAlign);
QFETCH(QString, expectfile);
-#ifdef Q_OS_LINUX
+#ifdef Q_WS_X11
// Font-specific, but not likely platform-specific, so only test on one platform
QFont fn;
fn.setRawName("-misc-fixed-medium-r-*-*-8-*-*-*-*-*-*-*");
@@ -450,7 +450,7 @@ void tst_qdeclarativetext::alignments()
QImage expect(expectfile);
-#ifdef Q_OS_LINUX
+#ifdef Q_WS_X11
// Font-specific, but not likely platform-specific, so only test on one platform
QCOMPARE(actual,expect);
#endif