Commit Graph

781 Commits

Author SHA1 Message Date
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