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 | |
| parent | 2a78066c9fa49517bccebbef2e005a674ab4ad27 (diff) | |
| download | qxmpp-32ce1b4d03869c9f4d489241d2e573b31b7de664.tar.gz | |
don't test stream initiation if QXMPP_AUTOTEST_INTERNAL is false
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/tests.cpp | 2 | ||||
| -rw-r--r-- | tests/tests.pro | 4 |
2 files changed, 4 insertions, 2 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); diff --git a/tests/tests.pro b/tests/tests.pro index e88c156e..57a84aa8 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -40,8 +40,8 @@ HEADERS += \ vcard.h !isEmpty(QXMPP_AUTOTEST_INTERNAL) { - HEADERS += codec.h sasl.h - SOURCES += codec.cpp sasl.cpp + HEADERS += codec.h sasl.h si.h + SOURCES += codec.cpp sasl.cpp si.cpp } QMAKE_LIBDIR += ../src |
