arvidn
98803df991
update test output to integrate better with github actions
2026-04-04 17:22:33 +02:00
arvidn
278443352d
Merge branch 'RC_2_0'
2024-10-01 11:12:16 +02:00
xavier2k6
790b6629f6
Fix some typos
2024-09-29 14:13:46 +02:00
arvidn
97ac96e0fc
seed rand() with a fixed value for each test
2024-07-27 18:50:38 +02:00
arvidn
8e53eba82f
Merge branch 'RC_2_0'
2023-08-26 11:15:27 +02:00
luzpaz
63373cf012
Fixes various typos
...
Found via `codespell -q 3 -S "*.pem,*.torrent,./docs/hunspell,./src/puff.cpp" -L bu,fo,folx,ihs,ot,readd,requestor,te`
2023-08-24 07:52:41 +02:00
arvidn
95c386b10a
merged RC_2_0 into master
2023-04-01 08:53:33 +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
964ffc57ba
merge RC_2_0 into master
2022-06-23 08:07:28 +02:00
arvidn
550d3c7d9f
update copyright headers
2022-06-22 21:42:55 +02:00
arvidn
c01e6fa767
merged RC_2_0 into master
2022-03-12 15:04:31 +01:00
arvidn
0c403745fd
test merge RC_1_2 into RC_2_0
2022-02-27 18:44:22 +01:00
arvidn
d92ba1561f
use a namespace for unit test framework globals rather than reserved identifiers
2022-02-27 17:54:16 +01:00
arvidn
902f5b433b
fix use of reserved names
2022-02-14 01:32:27 +01:00
arvidn
2db8b54c08
update copyright headers in source files
2021-06-13 21:04:55 +02:00
arvidn
83e6ac718e
merged RC_2_0 into master
2021-05-24 01:53:14 +02:00
arvidn
5715583c4a
merged RC_1_2 into RC_2_0
2021-05-23 12:00:32 +02:00
arvidn
0d49a5bbb0
restore the random generator seed in between all test cases, to make them deterministic
2021-05-21 13:11:05 +02:00
arvidn
0d3f80bedd
update copyright and license headers (of a few new files merged from RC_2_0)
2021-03-29 19:35:45 +02:00
Alden Torres
999035a200
moved random.hpp to aux
2021-01-11 23:58:31 +01:00
arvidn
19e8c2f3ea
remove full BSD license from all source files. reference LICENSE file in the root instead
2020-09-02 00:56:54 -07:00
arvidn
5935f63ead
update copyrights
2020-09-01 05:14:17 -07:00
arvidn
6ea0273a63
improve randomness of port selection for web python script in tests, to minimize collisions and failed tests
2020-08-27 00:23:37 -07:00
arvidn
a335b656e4
fix non-determinism in DHT test
2020-08-25 07:20:17 -07:00
arvidn
5cdd49942c
Merge branch 'RC_1_2'
2019-11-03 14:57:23 +01:00
arvidn
818cc1c495
set terminate handler in test framework to print stacktrace if called by test. Install signal handler on windows
2019-11-03 05:56:44 -08:00
arvidn
f0cd5dc086
merge RC_1_2 into master
2019-09-26 00:03:29 +02:00
arvidn
9c970550e3
fix clang warning on empty statements by fixing the test macros
2019-09-24 01:28:43 +02:00
arvidn
d3f7a363c2
update copyright year
2019-08-29 00:13:04 +02:00
Steven Siloti
826ac2d1f6
don't redirect stdout when running in a debugger
2019-05-19 07:56:44 +02:00
arvidn
5260128933
minor improvement to test_tracker. fix test output redirection on windows. tweak starting of web server in tests
2019-03-28 00:22:05 +01:00
Arvid Norberg
57017e3ace
noreturn attribute is standard in C++11
2019-02-27 17:11:15 +01:00
arvidn
f4f1425115
use UNC paths pervasively on windows
2019-01-12 21:00:40 +01:00
arvidn
50ae1838e6
wrap inclusion of windows.h with appropriate defines
2018-11-21 10:09:23 +01:00
arvidn
88643dd121
fix m_in_constructor assert for peer_connection (if the peer connection is constructed, but bt_peer_connection constructor fails, it needs to be cleared). Fix an invariant in session on ungraceful shutdown. Make test framework a bit more robust
2018-01-06 14:29:20 -05:00
arvidn
70448a2c3a
update libsimulator submodule
2018-01-02 18:42:01 -05:00
arvidn
17869828d7
don't redirect stderr by default, to get sanitizer output
2018-01-02 18:42:01 -05:00
arvidn
0eec9194db
fix suppressing stderr redirection in tests, with the -n option
2017-12-28 17:54:23 +01:00
arvidn
d8ea7fc5eb
merged RC_1_1 into master
2017-11-23 01:17:43 +01:00
arvidn
eac3fbceda
fix stout redirection in test framework
2017-11-23 00:05:08 +01:00
arvidn
b88c193742
fix sign conversion warning in peer_class_type_filter
2017-11-11 09:17:37 +01:00
arvidn
381db57b42
improve simulations by reseeding the random number generator. also erase all output in between iterations in test_error_handling
2017-11-09 17:59:13 +01:00
arvidn
6425cfbc4f
tests should not fail by failing to clean up. Make clean up more reliable on windows
2017-07-04 10:21:23 -04:00
arvidn
5c37eb174f
drop support for windows compilers without std::string and wchar_t (believed to be old cygwin)
2017-07-02 08:24:55 -04:00
arvidn
d138f02424
introduce lt namespace alias
2017-04-23 23:43:58 -04:00
arvidn
79d7ae3638
separate path and filesystem functions out into its own translation unit/header file pair, separating it from the file and directory class
2017-04-11 18:07:55 -04:00
Arvid Norberg
64ad4f5c96
enable warnings when building tests ( #1880 )
2017-04-02 14:22:17 -04:00
arvidn
1dd0e9b280
use string_view instead of strcmp
2017-03-18 15:54:38 -04:00
Andrei Kurushin
7a8ffc2f2d
fix web_seed redirects ( #1651 )
...
fix web_seed redirects, make all redirects ephemeral (to avoid resume serialization). remove dup slash for redirects in proxy mode. consolidate {convert_path_to_posix,escape_path} to escape_file_path
2017-02-22 22:46:33 -05:00
arvidn
3ffa3f2a08
merged RC_1_1 into master
2017-02-17 00:35:49 -05:00