From 72032a323d2a08e414e2b09ca37b0a514e0021f2 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sun, 17 Apr 2011 15:58:33 +0200 Subject: Do not try to test UnixFDs with the system API because it may be too old --- tests/auto/qdbustype/tst_qdbustype.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/auto/qdbustype/tst_qdbustype.cpp b/tests/auto/qdbustype/tst_qdbustype.cpp index 0469719..676a904 100644 --- a/tests/auto/qdbustype/tst_qdbustype.cpp +++ b/tests/auto/qdbustype/tst_qdbustype.cpp @@ -85,7 +85,9 @@ static void addFixedTypes() QTest::newRow("int64") << DBUS_TYPE_INT64_AS_STRING << true << true; QTest::newRow("uint64") << DBUS_TYPE_UINT64_AS_STRING << true << true; QTest::newRow("double") << DBUS_TYPE_DOUBLE_AS_STRING << true << true; - QTest::newRow("unixfd") << "h" << true << true; +#ifdef DBUS_TYPE_UNIX_FD_AS_STRING + QTest::newRow("unixfd") << DBUS_TYPE_UNIX_FD_AS_STRING << true << true; +#endif } static void addInvalidSingleLetterTypes() -- cgit v0.12