Commit Graph

19 Commits

Author SHA1 Message Date
Arvid Norberg 24e658aa88 fix tests to work on linux ZFS 2024-10-21 15:06:07 +02:00
arvidn 44da281de2 fixup mingw build. Don't define _FILE_OFFSET_BITS on windows because MingW has a hard time with it 2023-03-19 19:31:41 +01:00
arvidn 550d3c7d9f update copyright headers 2022-06-22 21:42:55 +02:00
arvidn e42bfa20cf merged RC_1_2 into RC_2_0 2021-08-22 12:26:21 +02:00
arvidn 5869c78bc0 work around new windows restriction of which ports are allowed to be used in tests 2021-08-22 09:59:02 +02:00
arvidn 7bc69bdb96 improve piece-picker pad-file granularity to bytes (from blocks) 2021-06-13 11:14:37 +02:00
Arvid Norberg 456c9448a5 add new torrent_file_with_hashes() which includes piece layers (#6083)
for creating .torrent files
2021-03-28 08:29:42 +02:00
arvidn cf8945ad64 move exists() function that ignore errors to test utils, and clean up use in posix_storage and mmap_storage 2021-02-05 01:40:15 +01:00
arvidn e185832c74 merged RC_1_2 into RC_2_0 2020-12-20 20:56:22 +01:00
arvidn f4d58ae4b3 fix time_now_string to not use a global variable for the returned string 2020-12-19 23:59:07 +01:00
Arvid Norberg 14e334879b add wrapper around std::ofstream to simplify tests that creates files 2020-09-15 10:37:49 -07:00
Arvid Norberg 5bdea2c995 split test_hash_picker to have merkle_tree tests in its own file 2020-09-11 17:22:13 -07:00
arvidn 5935f63ead update copyrights 2020-09-01 05:14:17 -07:00
arvidn 6a50e67c4c increase chance of test passing 2020-04-24 00:28:25 +02:00
arvidn d3f7a363c2 update copyright year 2019-08-29 00:13:04 +02:00
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
Andrei Kurushin c41ab094be fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627)
fix release build with VS2015 UP2 compiler warnings for: examples, test, tools
2016-04-20 00:45:32 -04:00
arvidn db76ba759d improve some tests 2015-06-14 15:48:11 -04:00
Arvid Norberg 3ea67e2bf5 move time_now_string out to the unit test library (basically unused in libtorrent itself) 2015-04-24 03:48:08 +00:00