diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-12 16:15:16 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-12 16:15:16 +0200 |
| commit | 32ce1b4d03869c9f4d489241d2e573b31b7de664 (patch) | |
| tree | 48391c5e6b3d4573d110ad5625d251f32bef7c59 /tests/tests.cpp | |
| parent | 2a78066c9fa49517bccebbef2e005a674ab4ad27 (diff) | |
| download | qxmpp-32ce1b4d03869c9f4d489241d2e573b31b7de664.tar.gz | |
don't test stream initiation if QXMPP_AUTOTEST_INTERNAL is false
Diffstat (limited to 'tests/tests.cpp')
| -rw-r--r-- | tests/tests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
