From 32ce1b4d03869c9f4d489241d2e573b31b7de664 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Wed, 12 Sep 2012 16:15:16 +0200 Subject: don't test stream initiation if QXMPP_AUTOTEST_INTERNAL is false --- tests/tests.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/tests.cpp') diff --git a/tests/tests.cpp b/tests/tests.cpp index cc072c6d..0937afb1 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -942,8 +942,10 @@ int main(int argc, char *argv[]) tst_QXmppStanza testStanza; errors += QTest::qExec(&testStanza); +#ifdef QXMPP_AUTOTEST_INTERNAL tst_QXmppStreamInitiationIq testSI; errors += QTest::qExec(&testSI); +#endif TestStun testStun; errors += QTest::qExec(&testStun); -- cgit v1.2.3