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