disable tests of extensions when they are disabled by the build config
This commit is contained in:
parent
c71a48bcf2
commit
4224310c6f
|
@ -636,6 +636,7 @@ TORRENT_TEST(multiple_have_all)
|
|||
print_session_log(*ses);
|
||||
}
|
||||
|
||||
#ifndef TORRENT_DISABLE_EXTENSIONS
|
||||
// makes sure that pieces that are lost are not requested
|
||||
TORRENT_TEST(dont_have)
|
||||
{
|
||||
|
@ -795,6 +796,8 @@ TORRENT_TEST(invalid_metadata_request)
|
|||
print_session_log(*ses);
|
||||
}
|
||||
|
||||
#endif // TORRENT_DISABLE_EXTENSIONS
|
||||
|
||||
// TODO: test sending invalid requests (out of bound piece index, offsets and
|
||||
// sizes)
|
||||
|
||||
|
|
Loading…
Reference in New Issue