Arvid Norberg
|
d90f7336b1
|
fix unit test web server for tracker announces
|
2013-10-07 00:33:55 +00:00 |
Arvid Norberg
|
f354f33f0e
|
add specific exit code for valgrind errors
|
2013-10-06 20:01:55 +00:00 |
Arvid Norberg
|
b94a13f94a
|
fail web seed tests quicker
|
2013-10-06 17:03:59 +00:00 |
Arvid Norberg
|
1dd5e5128b
|
fix issue in internal_file_entry when assigning an empty string that's borrowed
|
2013-10-05 04:18:24 +00:00 |
Arvid Norberg
|
590c0d876c
|
bump timeouts in http and socks python scripts
|
2013-10-04 15:51:32 +00:00 |
Arvid Norberg
|
d1f41a72f4
|
make socks.py and http.py shut themselves down after a timeout of inactivity (maybe that will fix the problem of them lingering, stalling tests). fix some issues in run_regression_tests.py
|
2013-10-03 05:44:38 +00:00 |
Arvid Norberg
|
64b563fd06
|
attempt to trigger valgrind errors earlier
|
2013-10-02 21:51:30 +00:00 |
Arvid Norberg
|
0e7fb25916
|
disable debug output in test web server
|
2013-10-01 22:18:13 +00:00 |
Arvid Norberg
|
6dcac0a33f
|
minor unit test fixes
|
2013-10-01 16:47:05 +00:00 |
Arvid Norberg
|
7545c15fc2
|
another attempt to fix test link error on windows
|
2013-10-01 15:44:32 +00:00 |
Arvid Norberg
|
c888d73964
|
attempt to fix test link error on windows
|
2013-10-01 09:20:36 +00:00 |
Arvid Norberg
|
d327916c27
|
fix bug in port randomization in unit tests
|
2013-10-01 04:30:15 +00:00 |
Arvid Norberg
|
53a95fbcc1
|
fix web seeding tests
|
2013-10-01 04:10:03 +00:00 |
Arvid Norberg
|
fcf923d301
|
fix Jamfile typo
|
2013-09-30 17:22:28 +00:00 |
Arvid Norberg
|
f8261494e0
|
just kill python instead of trying to shut it down gracefully, in tests
|
2013-09-30 17:17:11 +00:00 |
Arvid Norberg
|
a577dac775
|
split up test_web_seed into smaller tests
|
2013-09-29 22:50:06 +00:00 |
Arvid Norberg
|
a623c4c41c
|
back-port test port fix
|
2013-09-29 19:18:25 +00:00 |
Arvid Norberg
|
cc4536b122
|
make socks proxy work on windows
|
2013-09-28 06:02:18 +00:00 |
Arvid Norberg
|
89c3db477d
|
merge build fix with C++11 from RC_0_16
|
2013-09-25 19:44:29 +00:00 |
Arvid Norberg
|
4f6f383e8b
|
fix typo in test Jamfile
|
2013-09-25 01:45:23 +00:00 |
Arvid Norberg
|
7bbb0e4e6c
|
don't use random_seed in test_dht
|
2013-09-24 15:33:25 +00:00 |
Arvid Norberg
|
e6f41c0d16
|
remove randomness from test_dht, to make it pass consistently
|
2013-09-24 08:14:50 +00:00 |
Arvid Norberg
|
4991a601c6
|
support proxy authentication in http.py and tests
|
2013-09-23 06:25:27 +00:00 |
Arvid Norberg
|
60f0af860f
|
fix mingw build of tests
|
2013-09-23 05:36:50 +00:00 |
Arvid Norberg
|
04825115b4
|
attempt to fix windows usage of new python based proxies
|
2013-09-22 13:34:32 +00:00 |
Arvid Norberg
|
9c99220dd1
|
make tests not rely on delegated anymore, but instead use simple python implementations for socks and http proxy
|
2013-09-22 03:37:33 +00:00 |
Arvid Norberg
|
fcff201356
|
make tests buildable both as shared and static linkage. static builds make it easier to debug
|
2013-09-20 14:14:29 +00:00 |
Arvid Norberg
|
1fb0511c51
|
minor typo in test launching of delegated
|
2013-09-20 12:18:53 +00:00 |
Arvid Norberg
|
8311c170f0
|
launch delegated.exe without waiting on it returning (windows)
|
2013-09-20 03:06:26 +00:00 |
Arvid Norberg
|
dfaddedc6f
|
another attempt to not make delegated stall
|
2013-09-18 09:05:27 +00:00 |
Arvid Norberg
|
413f7b00ba
|
run delegated.exe as a background process in case it can't daemonize
|
2013-09-18 08:43:08 +00:00 |
Arvid Norberg
|
40682837c9
|
minimal support for building tests with static linking
|
2013-09-18 08:42:30 +00:00 |
Arvid Norberg
|
89b6c51725
|
make test_swarm test with a smaller torrent, making the test complete faster
|
2013-09-17 09:33:42 +00:00 |
Arvid Norberg
|
bb925ad671
|
fix build error in test_dht
|
2013-09-16 03:49:30 +00:00 |
Arvid Norberg
|
40941608a9
|
improve DHT routing table some, by replacing high RTT nodes within a node ID prefix
|
2013-09-14 21:49:08 +00:00 |
Arvid Norberg
|
39264c5ad3
|
introduce new, optional, get_peers mechanism that is more privacy preserving (doesn't leak the info-hash to as many DHT nodes)
|
2013-09-09 07:08:02 +00:00 |
Arvid Norberg
|
a780b8469d
|
abstract generic_category() to build on boost-1.42 and older. fix some include issues in tests
|
2013-09-09 07:06:12 +00:00 |
Arvid Norberg
|
8ab8172cb7
|
improve DHT routing table to return better nodes (lower RTT and closer to target)
|
2013-09-09 04:16:52 +00:00 |
Arvid Norberg
|
0f3cb1b8a4
|
fix valgrind issues in tests
|
2013-09-04 05:50:40 +00:00 |
Arvid Norberg
|
4b0c4165d7
|
fix tests
|
2013-09-03 16:02:24 +00:00 |
Arvid Norberg
|
515cd24a8c
|
if setting socket send or receive buffer size fails, reset it to the previous value
|
2013-09-03 08:39:30 +00:00 |
Arvid Norberg
|
1dc491e7e1
|
fix test_upnp
|
2013-09-03 04:41:49 +00:00 |
Arvid Norberg
|
149c464d2e
|
support valgrind as a launcher of unit tests
|
2013-09-03 01:19:42 +00:00 |
Arvid Norberg
|
12fd5be372
|
fix bug in ed25519 DHT signature verification. removed RSA code as it's no longer used. add CAS feature (compare and swap) to DHT put command. update dht_store documentation
|
2013-09-03 00:45:48 +00:00 |
Arvid Norberg
|
fdab2e61da
|
fix test_storage
|
2013-09-02 21:30:58 +00:00 |
Arvid Norberg
|
f04b4da920
|
allow test_rate to take 7 seconds
|
2013-09-02 17:41:01 +00:00 |
Arvid Norberg
|
531d51dccf
|
fix unit tests build
|
2013-09-02 09:35:15 +00:00 |
Arvid Norberg
|
275c340231
|
make socket buffer sizes affect the udp socket as well. for high_performance_seed preset, set 1 MB socket buffers. only run test_rate() in proper release mode (without invariant checks and debug-iterators). lower the time limit of test_rate. update regression tests to disable invariant checks and debug iterators when building release mode
|
2013-09-02 09:24:34 +00:00 |
Arvid Norberg
|
124dbfb6ad
|
fix test_tracker again (synchronous session destruction is required)
|
2013-09-02 05:29:45 +00:00 |
Arvid Norberg
|
31da1eb4ae
|
some more unit test fixes
|
2013-09-01 18:00:01 +00:00 |
Arvid Norberg
|
d39c55cb8d
|
some more test fixes
|
2013-09-01 17:49:08 +00:00 |
Arvid Norberg
|
1c3229caa9
|
fix test_pe_crypto build
|
2013-09-01 17:39:40 +00:00 |
Arvid Norberg
|
d04748f1db
|
split up test_primitives some more
|
2013-09-01 06:52:50 +00:00 |
Arvid Norberg
|
dd192cfd3c
|
split up test_primitives into more tests (in an attempt to get the link-time down within the regression test time limit)
|
2013-09-01 01:10:50 +00:00 |
Arvid Norberg
|
fcdd839e87
|
fix test_privacy when DHT is disabled
|
2013-09-01 00:11:59 +00:00 |
Arvid Norberg
|
9bb808b747
|
speed up the test_privacy test a bit
|
2013-09-01 00:04:40 +00:00 |
Arvid Norberg
|
850b81e625
|
merged removal of AES code from RC_0_16
|
2013-08-31 20:23:58 +00:00 |
Arvid Norberg
|
b6083fbc28
|
first steps towards supporting SSL over uTP. moved the TODO comment and made it describe the next step. Optimized session destruction in unit tests, hopefully shaving off a bit of test run-time (and now supports asio-debugging of unit tests)
|
2013-08-31 20:19:03 +00:00 |
Arvid Norberg
|
4ab2c14ca1
|
fix missing crypto symbols in unit tests for windows
|
2013-08-28 06:39:39 +00:00 |
Arvid Norberg
|
1869ab1c3e
|
one more attempt at fixing windows linking of test
|
2013-08-28 02:40:38 +00:00 |
Arvid Norberg
|
f2aca363ad
|
another attempt to get tests to link on windows
|
2013-08-27 07:02:46 +00:00 |
Arvid Norberg
|
e67d92bb58
|
fix test_dht link issue
|
2013-08-22 08:12:35 +00:00 |
Arvid Norberg
|
245c1791cf
|
use export macro from test
|
2013-08-21 04:32:05 +00:00 |
Arvid Norberg
|
4d7be9331b
|
attempt at fixing test linkage on windows
|
2013-08-20 06:05:15 +00:00 |
Arvid Norberg
|
2dc6f50f88
|
attempt to fix export issue of the ed25519 functions to unit tests
|
2013-08-19 06:45:56 +00:00 |
Arvid Norberg
|
b431ef7836
|
use crc32 for node ID restriction scheme
|
2013-08-19 05:24:35 +00:00 |
Arvid Norberg
|
27adb1fc44
|
improve error reporting from unit tests
|
2013-08-19 04:33:16 +00:00 |
Arvid Norberg
|
1afc0c6740
|
a bunch of fixes to make test_web_seeds a lot faster, and fail slightly fewer tests
|
2013-08-19 03:54:45 +00:00 |
Arvid Norberg
|
6bd07fd65f
|
pull in an ed25519 implementation and replace use of RSA in the DHT with ECC. fix up makefiles
|
2013-08-18 16:01:20 +00:00 |
Arvid Norberg
|
76f32f0659
|
fix race condition in test_threads
|
2013-08-18 06:03:59 +00:00 |
Arvid Norberg
|
530596cea8
|
merged test_transfer fix from RC_0_16
|
2013-08-18 01:08:18 +00:00 |
Arvid Norberg
|
023116db6f
|
merge ssl test fix from RC_0_16
|
2013-08-17 22:29:34 +00:00 |
Arvid Norberg
|
5141a6505a
|
merged url escaping fix from RC_0_16
|
2013-08-16 16:38:09 +00:00 |
Arvid Norberg
|
3bd53f88ef
|
fix build with internal_file_entry being deprecated without deprecated functions
|
2013-08-12 07:30:57 +00:00 |
Arvid Norberg
|
2fec803ae4
|
merged ssl fix from RC_0_16
|
2013-08-12 03:31:44 +00:00 |
Arvid Norberg
|
75ba9333e6
|
fix test_primitives build
|
2013-08-05 06:35:04 +00:00 |
Arvid Norberg
|
4a4880a822
|
relax requirement of test_ssl to allow for longer handshake time
|
2013-08-05 05:00:26 +00:00 |
Arvid Norberg
|
27ea092b51
|
optimize PEX to trigger earlier, and only start applying the load-balancing logic when it's needed
|
2013-08-04 05:09:20 +00:00 |
Arvid Norberg
|
11fd428c46
|
make test_transfer fail faster
|
2013-08-04 04:04:44 +00:00 |
Arvid Norberg
|
436bb199e3
|
SetErrorMode at the start of unit tests (on windows)
|
2013-08-04 03:04:59 +00:00 |
Arvid Norberg
|
a854373a04
|
raise time limit for unit tests. improve logging of udp tracker test
|
2013-08-04 00:49:41 +00:00 |
Arvid Norberg
|
626133defa
|
be more forgiving of slow (or busy) hardware in test_transfer
|
2013-08-04 00:02:32 +00:00 |
Arvid Norberg
|
7d449b7d76
|
optimize test_transfer to fail faster
|
2013-08-03 23:44:03 +00:00 |
Arvid Norberg
|
45607520e9
|
attempt to make unit tests more likely to clean up proxy processes after themselves
|
2013-08-03 23:30:37 +00:00 |
Arvid Norberg
|
c0a0769aea
|
merged fix from RC_0_16
|
2013-08-02 01:25:52 +00:00 |
Arvid Norberg
|
990275d2dc
|
merge test_ssl fix from RC_0_16
|
2013-08-02 01:12:27 +00:00 |
Arvid Norberg
|
d72f0017b1
|
minor fixes
|
2013-08-01 16:15:02 +00:00 |
Arvid Norberg
|
93f9d4b3b0
|
test fixing
|
2013-08-01 08:03:11 +00:00 |
Arvid Norberg
|
09f29217ee
|
test fixes
|
2013-08-01 04:58:43 +00:00 |
Arvid Norberg
|
0acd1200f3
|
fixed test_transfer
|
2013-08-01 03:50:57 +00:00 |
Arvid Norberg
|
63cce14cf9
|
fix issue in previous patch to test_storage and optimized it a bit
|
2013-08-01 01:02:26 +00:00 |
Arvid Norberg
|
86ce8fbb0a
|
fix test_storage
|
2013-08-01 00:21:56 +00:00 |
Arvid Norberg
|
4a66d42bd4
|
test logging
|
2013-07-30 21:09:27 +00:00 |
Arvid Norberg
|
2da6b152d8
|
initialize random number generator for tests
|
2013-07-30 16:04:53 +00:00 |
Arvid Norberg
|
4ecccb6fea
|
fix test_ssl and test_transfer
|
2013-07-30 07:13:12 +00:00 |
Arvid Norberg
|
87ae3fd01a
|
more timestamps in test logs
|
2013-07-30 06:04:16 +00:00 |
Arvid Norberg
|
68db0038e5
|
test_ssl and test_transfer polish
|
2013-07-30 04:30:19 +00:00 |
Arvid Norberg
|
6cf5466f5f
|
fix test_web_seed for use in trunk, where tests are run in separate directories
|
2013-07-29 09:27:46 +00:00 |
Arvid Norberg
|
7a0c4654a3
|
fix test_ssl for trunk, where tests are run in separate directories
|
2013-07-29 09:26:05 +00:00 |
Arvid Norberg
|
0465d6325d
|
merged test fix from RC_0_16
|
2013-07-29 08:20:16 +00:00 |
Arvid Norberg
|
e43407778d
|
merged fix from RC_0_16
|
2013-07-28 17:54:41 +00:00 |
Arvid Norberg
|
beae6cece0
|
merged ssl fix from RC_0_16
|
2013-07-28 15:06:28 +00:00 |
Arvid Norberg
|
d6ead7e605
|
fixed typos
|
2013-07-25 06:14:50 +00:00 |
Arvid Norberg
|
8a2279b546
|
fix test_checking for windows
|
2013-07-25 06:04:31 +00:00 |
Arvid Norberg
|
f5f868ba68
|
fix parse error in xml parser
|
2013-07-24 07:13:26 +00:00 |
Arvid Norberg
|
c0da76ac84
|
some windows fixes for unit tests
|
2013-07-23 07:32:38 +00:00 |
Arvid Norberg
|
80459b66dc
|
fix windows build of test_file_storage
|
2013-07-23 01:52:44 +00:00 |
Arvid Norberg
|
a6c662ec0a
|
fix SSL build of unit tests
|
2013-07-22 00:53:13 +00:00 |
Arvid Norberg
|
bbe62564ad
|
low level network primitives should not be exported. Moved enum_if into tests (since it uses internal functions)
|
2013-07-20 01:02:15 +00:00 |
Arvid Norberg
|
facbf9c178
|
don't expose load_file as a public function
|
2013-07-19 21:41:33 +00:00 |
Arvid Norberg
|
9c9135bfc4
|
don't use pointers to resume_data and file_priorities in add_torrent_params
|
2013-07-17 20:21:48 +00:00 |
Arvid Norberg
|
1f2d22604c
|
add missing backslash in makefile
|
2013-06-30 18:52:49 +00:00 |
Arvid Norberg
|
410ef08e6a
|
fix test builds
|
2013-06-26 19:16:21 +00:00 |
Arvid Norberg
|
ee9523b8d1
|
test link issue on windows
|
2013-06-24 03:34:45 +00:00 |
Arvid Norberg
|
1523a196e5
|
fix fallocate issue when filesystem doesn't support it
|
2013-06-24 03:26:17 +00:00 |
Arvid Norberg
|
1252de8fe3
|
more linking issues
|
2013-06-23 22:36:07 +00:00 |
Arvid Norberg
|
54b05dd20a
|
fix test header issue
|
2013-06-23 21:25:38 +00:00 |
Arvid Norberg
|
981980190a
|
one more windows linking issue
|
2013-06-23 20:37:03 +00:00 |
Arvid Norberg
|
aa58f26985
|
fix dynamic linking of test library on windows
|
2013-06-23 17:36:00 +00:00 |
Arvid Norberg
|
d77e3cb59f
|
attempted fix for link issue
|
2013-06-23 08:14:18 +00:00 |
Arvid Norberg
|
465bbbf406
|
fix dht issue for platforms where char is unsigned. introduce assert
|
2013-06-23 08:07:39 +00:00 |
Arvid Norberg
|
56648ac39b
|
attempt at fixing link issue since moving unit test code into a shared library
|
2013-06-23 03:01:02 +00:00 |
Arvid Norberg
|
78da577e2b
|
big-endian fixes to test_primitives and more logging to track down error in test_dht
|
2013-06-23 01:22:44 +00:00 |
Arvid Norberg
|
6b6c06fa0b
|
test log improvements
|
2013-06-21 01:06:40 +00:00 |
Arvid Norberg
|
208321dab0
|
improve test logging
|
2013-06-20 05:28:42 +00:00 |
Arvid Norberg
|
d05ce6c6a0
|
fix tests
|
2013-06-19 19:14:46 +00:00 |
Arvid Norberg
|
3b9fd38c22
|
fix build of test_storage without deprecated functions
|
2013-06-18 07:33:49 +00:00 |
Arvid Norberg
|
ff5526300d
|
fix test_rss for windows
|
2013-06-18 04:00:25 +00:00 |
Arvid Norberg
|
4a95b06316
|
remove test for removed function
|
2013-06-18 02:08:57 +00:00 |
Arvid Norberg
|
2c7d6a31cb
|
fix test_transfer when built without deprecated functions
|
2013-06-18 00:33:16 +00:00 |
Arvid Norberg
|
50ca25c08a
|
fix test_torrent_parse for windows
|
2013-06-17 15:56:58 +00:00 |
Arvid Norberg
|
ab07c8f041
|
some test fixes
|
2013-06-17 07:47:47 +00:00 |
Arvid Norberg
|
7a60f66df5
|
link fix for unit tests
|
2013-06-17 05:58:18 +00:00 |
Arvid Norberg
|
4d2f61a353
|
actually fix the windows build of tests
|
2013-06-17 05:50:53 +00:00 |
Arvid Norberg
|
0600639b79
|
fix linux issue in tests
|
2013-06-17 05:18:56 +00:00 |
Arvid Norberg
|
fa919d26e3
|
fix windows test build
|
2013-06-17 04:12:18 +00:00 |
Arvid Norberg
|
6fe61669cc
|
fix test_file_storage for windows
|
2013-06-17 02:10:45 +00:00 |
Arvid Norberg
|
1774e989f0
|
make tests run in separate directories, to have them never interfere with eachother
|
2013-06-17 00:45:17 +00:00 |
Arvid Norberg
|
7f23627581
|
some more output for the servers started by some tests
|
2013-06-16 23:05:11 +00:00 |
Arvid Norberg
|
98b47c55c6
|
fix ipv6-off build
|
2013-06-16 00:59:29 +00:00 |
Arvid Norberg
|
9803b6a15f
|
fix build issue when asserts are disabled
|
2013-06-14 21:11:28 +00:00 |
Arvid Norberg
|
f91d83434b
|
don't print color output from tests (to make it work with some of the regression testing tools)
|
2013-06-14 16:38:26 +00:00 |
Arvid Norberg
|
3823b74586
|
merged test_privacy updates from RC_0_16
|
2013-06-13 06:32:13 +00:00 |
Arvid Norberg
|
971b979dbc
|
merged test from RC_0_16
|
2013-06-12 17:03:56 +00:00 |
Arvid Norberg
|
6bc908fd49
|
merged anonymous mode fix from RC_0_16
|
2013-06-12 07:57:13 +00:00 |
Arvid Norberg
|
8f3723cdef
|
support renaming files to absolute paths
|
2013-06-09 22:30:02 +00:00 |
Arvid Norberg
|
91f8c32937
|
stub for file_storage test
|
2013-06-08 23:37:11 +00:00 |
Arvid Norberg
|
c464dc2383
|
merged unit test from RC_0_16
|
2013-05-31 16:33:06 +00:00 |
Arvid Norberg
|
bdf0e1764b
|
merged fixes from RC_0_16
|
2013-05-11 22:00:54 +00:00 |
Arvid Norberg
|
01c8c8543b
|
fix typo in move_storage
|
2013-05-11 21:32:18 +00:00 |