diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 73f66cf1..8417715b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -110,6 +110,8 @@ if(USE_STDERR_LOGGER) | |||
110 | add_definitions(-DUSE_STDERR_LOGGER=1) | 110 | add_definitions(-DUSE_STDERR_LOGGER=1) |
111 | endif() | 111 | endif() |
112 | 112 | ||
113 | option(NON_HERMETIC_TESTS "Whether to build and run tests that depend on an internet connection" OFF) | ||
114 | |||
113 | option(BUILD_TOXAV "Whether to build the tox AV library" ON) | 115 | option(BUILD_TOXAV "Whether to build the tox AV library" ON) |
114 | option(MUST_BUILD_TOXAV "Fail the build if toxav cannot be built" OFF) | 116 | option(MUST_BUILD_TOXAV "Fail the build if toxav cannot be built" OFF) |
115 | 117 | ||
@@ -405,7 +407,6 @@ function(auto_test target) | |||
405 | endfunction() | 407 | endfunction() |
406 | 408 | ||
407 | auto_test(TCP) | 409 | auto_test(TCP) |
408 | auto_test(bootstrap) | ||
409 | auto_test(conference) | 410 | auto_test(conference) |
410 | auto_test(conference_double_invite) | 411 | auto_test(conference_double_invite) |
411 | auto_test(conference_invite_merge) | 412 | auto_test(conference_invite_merge) |
@@ -436,7 +437,6 @@ auto_test(send_message) | |||
436 | auto_test(set_name) | 437 | auto_test(set_name) |
437 | auto_test(set_status_message) | 438 | auto_test(set_status_message) |
438 | auto_test(skeleton) | 439 | auto_test(skeleton) |
439 | auto_test(tcp_relay) | ||
440 | auto_test(tox_many) | 440 | auto_test(tox_many) |
441 | auto_test(tox_many_tcp) | 441 | auto_test(tox_many_tcp) |
442 | auto_test(tox_one) | 442 | auto_test(tox_one) |
@@ -445,6 +445,11 @@ auto_test(typing) | |||
445 | auto_test(version) | 445 | auto_test(version) |
446 | auto_test(save_compatibility) | 446 | auto_test(save_compatibility) |
447 | 447 | ||
448 | if(NON_HERMETIC_TESTS) | ||
449 | auto_test(bootstrap) | ||
450 | auto_test(tcp_relay) | ||
451 | endif() | ||
452 | |||
448 | if(BUILD_TOXAV) | 453 | if(BUILD_TOXAV) |
449 | auto_test(conference_av) | 454 | auto_test(conference_av) |
450 | auto_test(toxav_basic) | 455 | auto_test(toxav_basic) |