Commit Graph

52 Commits

Author SHA1 Message Date
Arvid Norberg e8380e1d0b factor out includes from config.hpp into the files actually using it. primarily, printf family of functions, since C++11 version is used now. This removes the need for an snprintf-wrapper on windows (#732) 2016-05-17 09:24:06 -04:00
Arvid Norberg 44a668db62 build with gcc/mingw on appveyor (#722)
enable gcc/mingw builds on appveyor. Some mingw tests crash currently, they need debugging and are currently disabled.
2016-05-15 13:28:22 -04:00
Andrei Kurushin 62eb956c54 fix x64 build with VS2015 UP2 compiler (#640)
fix VS2015 compiler warnings for: address-model=64, deprecated-functions=on, link=shared
2016-04-25 17:22:09 -04:00
arvidn 2921caf95e fix msvc test build. make test framework robust to tmpfile() failing. add missing files and tests to makefile 2016-04-10 20:46:51 -04:00
arvidn 174e0aeb46 fix semantics of socks5_stream and http_connection to make them not close themselves. Add socks5 and socks4 proxy coverage in test_http_connection 2015-11-24 00:39:01 -05:00
arvidn 07574117ad add test for readwritev and experiment with SEH handler in test 2015-11-19 17:58:56 -05:00
arvidn 5da511f140 now that force-started torrents aren't affected by the auto-manager, they need to be explicitly kicked when entering checking state (it would be nice if all this could be done through set_state()) 2015-09-29 20:49:38 -04:00
arvidn 6068418def fix and re-enable simulations 2015-08-09 00:56:37 -04:00
arvidn 50925d7652 fix some more warnings 2015-08-08 02:48:01 -04:00
Chocobo1 e8a02b85b8 Remove duplicate 2015-07-11 15:45:18 +08:00
arvidn 3755a77a64 attempt to trouble shoot missing backtraces on linux 2015-06-20 16:36:23 -04:00
arvidn 2321bfe5fa fix shared linking of tests 2015-06-20 12:08:49 -04:00
arvidn 99c0542289 add option to not redirect output from tests 2015-06-13 18:52:17 -04:00
Arvid Norberg b0eabd532c some test fixes 2015-05-31 16:14:46 +00:00
Arvid Norberg 84849f3afd some msvc fixes 2015-05-30 21:46:59 +00:00
Arvid Norberg d9813ca56d split up file unit tests into smaller pieces 2015-05-30 21:10:34 +00:00
Arvid Norberg f9c9d0ad0d merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile. 2015-05-30 04:31:23 +00:00
Arvid Norberg b480f40a98 fix linux build and update code coverage script 2015-05-17 21:00:47 +00:00
Arvid Norberg 0aece517ce fix some undefined behavior in tests. and fix test_file_storage 2015-03-22 05:31:55 +00:00
Arvid Norberg c1dc982f4f deprecate the ptime type and related time types. just use boost::chrono / std::chrono 2015-03-12 04:34:54 +00:00
Arvid Norberg e161bf080d web_seed test debug logging 2015-01-08 22:54:11 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg 6ac8b9e006 improve regression testing framework 2014-03-16 23:55:18 +00:00
Arvid Norberg 0a042dde8b clean up udp-tracker unit tests 2014-02-23 01:32:55 +00:00
Arvid Norberg 6c22d426d4 make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts) 2014-02-05 09:38:32 +00:00
Arvid Norberg 34b83ddd71 make test_transfer much more likely to succeed 2014-01-24 09:31:47 +00:00
Arvid Norberg d4032c6101 fix compile warnings in ed25519 code 2013-10-14 01:04:02 +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 f2aca363ad another attempt to get tests to link on windows 2013-08-27 07:02:46 +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 436bb199e3 SetErrorMode at the start of unit tests (on windows) 2013-08-04 03:04:59 +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 2da6b152d8 initialize random number generator for tests 2013-07-30 16:04:53 +00:00
Arvid Norberg aa58f26985 fix dynamic linking of test library on windows 2013-06-23 17:36:00 +00:00
Arvid Norberg 4d2f61a353 actually fix the windows build of tests 2013-06-17 05:50:53 +00:00
Arvid Norberg fa919d26e3 fix windows test build 2013-06-17 04:12:18 +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 9803b6a15f fix build issue when asserts are disabled 2013-06-14 21:11:28 +00:00
Arvid Norberg d8c2228ff3 merged some windows fixes from RC_0_16 2013-01-06 18:38:33 +00:00
Arvid Norberg 42a5185f24 merged fix from RC_0_16 2012-06-05 05:55:40 +00:00
Arvid Norberg acff091cad fix windows unit test build 2012-04-28 18:49:53 +00:00
Arvid Norberg 3cf7d0a7a2 make tests catch fatal signals and present a nice stack for the error 2012-04-21 05:54:49 +00:00
Arvid Norberg 83e8700615 minor fixes 2011-03-01 21:57:03 +00:00
Arvid Norberg 3474346a3d stdout non-blocking fix for tests 2010-12-24 01:20:39 +00:00
Arvid Norberg c4422cd34e optimize test_transfer. fix set_upload_mode() bug for seeds. clean up some verbose logging. fix tests to not fail by EAGAIN on stdout 2010-12-24 00:37:01 +00:00
Arvid Norberg bc9e58962b optimized unit tests 2009-04-10 08:40:13 +00:00
Arvid Norberg c6b793021d make tests not depend on exceptions 2008-11-05 03:17:41 +00:00
Arvid Norberg 19660306e0 more exception defines 2008-11-03 04:23:16 +00:00
Arvid Norberg af0ebb519c added copyright notices in files missing them 2008-07-01 18:59:13 +00:00