summaryrefslogtreecommitdiffstats
path: root/tests/auto/mediaobject
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-08-06 11:35:28 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-08-06 11:36:56 (GMT)
commit2397a17862ff61082639bc7a80daa8a8ac7e9949 (patch)
tree07426d4f5e401a37453df1e6380cd1f05f5caaca /tests/auto/mediaobject
parent190e9803165b3d3d076cc02b8861cff96f3e11d0 (diff)
downloadQt-2397a17862ff61082639bc7a80daa8a8ac7e9949.zip
Qt-2397a17862ff61082639bc7a80daa8a8ac7e9949.tar.gz
Qt-2397a17862ff61082639bc7a80daa8a8ac7e9949.tar.bz2
Mac: fix autotest
On mac, we prefer testing with mp3 rather than ogg, Because in the latter case, you must install perian to make it work. And the test machines dont. Reviewed-by: brad
Diffstat (limited to 'tests/auto/mediaobject')
-rw-r--r--tests/auto/mediaobject/tst_mediaobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/mediaobject/tst_mediaobject.cpp b/tests/auto/mediaobject/tst_mediaobject.cpp
index c1a69f7..b9fe790 100644
--- a/tests/auto/mediaobject/tst_mediaobject.cpp
+++ b/tests/auto/mediaobject/tst_mediaobject.cpp
@@ -89,7 +89,7 @@ const qint64 SEEK_BACKWARDS = 2000;
const qint64 ALLOWED_TIME_FOR_SEEKING = 1500; // 1.5s
const qint64 SEEKING_TOLERANCE = 250;
#else
-#ifdef Q_OS_WIN
+#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
#define MEDIA_FILE "/sax.mp3"
#define MEDIA_FILEPATH ":/media/sax.mp3"
#else