diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2019-01-17 07:55:19 +0100 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2019-01-17 08:43:31 +0100 |
| commit | dcdef2d460ae3fff2d36fabaf543dd243f6558be (patch) | |
| tree | 20c8f1234c2bc3f95ad0b1dea48b0286dde3b8c2 /tests/CMakeLists.txt | |
| parent | c5611635f057f118e686784ec865681baf1cb2e4 (diff) | |
| download | qxmpp-dcdef2d460ae3fff2d36fabaf543dd243f6558be.tar.gz | |
[tests] add CMake option to build internal tests
Some tests are disabled by default as they require exporting additional
symbols which are not part of the public API. The BUILD_INTERNAL_TESTS
option makes it possible to enable these additional tests.
Diffstat (limited to 'tests/CMakeLists.txt')
| -rw-r--r-- | tests/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0b64c746..df125219 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -18,7 +18,6 @@ add_simple_test(qxmpparchiveiq) add_simple_test(qxmppbindiq) add_simple_test(qxmppcallmanager) add_simple_test(qxmppcarbonmanager) -# add_simple_test(qxmppcodec) add_simple_test(qxmppdataform) add_simple_test(qxmppdiscoveryiq) add_simple_test(qxmppentitytimeiq) @@ -36,17 +35,21 @@ add_simple_test(qxmpprosteriq) add_simple_test(qxmpprpciq) add_simple_test(qxmpprtcppacket) add_simple_test(qxmpprtppacket) -# add_simple_test(qxmppsasl) add_simple_test(qxmppserver) add_simple_test(qxmppsessioniq) add_simple_test(qxmppsocks) add_simple_test(qxmppstanza) add_simple_test(qxmppstreamfeatures) -# add_simple_test(qxmppstreaminitiationiq) add_simple_test(qxmppstunmessage) add_simple_test(qxmppvcardiq) add_simple_test(qxmppversioniq) +if(BUILD_INTERNAL_TESTS) + add_simple_test(qxmppcodec) + add_simple_test(qxmppsasl) + add_simple_test(qxmppstreaminitiationiq) +endif() + add_subdirectory(qxmpptransfermanager) add_subdirectory(qxmpputils) |
