iphydf
bdf460a3a9
refactor: Rename system_{memory,...}
to os_{memory,...}
.
...
This rename happens in the system PR, so I'm pulling it out to reduce
the size of that PR.
2024-01-25 21:33:52 +00:00
Green Sky
e07248debb
refactor: Migrate auto_tests to new events API.
...
Co-authored-by: Green Sky <green@g-s.xyz>
2024-01-18 18:08:07 +00:00
Robin Linden
657d185de5
chore: Support producing shared libraries on Windows
...
The FLAT_OUTPUT_STRUCTURE CMake option was added to allow the tests to
find the .dlls.
The global data symbols were converted to functions to allow
WINDOWS_EXPORT_ALL_SYMBOLS handle them.
See:
https://cmake.org/cmake/help/v3.23/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.html
2022-04-03 23:04:11 +02:00
iphydf
cc31ff07fa
feat: Add support for custom random number generator.
...
This can be used by fuzzers to make RNG-driven code deterministic (i.e.
based on the fuzzer input).
2022-04-01 14:06:05 +00:00
jfreegman
d2f98b83c2
Fix some minor issues with autotests
...
- Do null check on autotox pointer for all public functions
- Reverse argument order: autotoxes -> count instead of opposite
2022-01-26 10:27:41 -05:00
zugz (tox)
1157e4e68c
Separate run_auto_tests into a library
2022-01-25 14:25:36 -05:00
jfreegman
e6d671eeab
Add ability for autotests to use TCP connections
...
This also allows us to set other tox options
2022-01-01 15:43:59 -05:00
iphydf
6b75f8b889
chore: Remove config.h.
...
This aligns the autotools build with the cmake build, which doesn't have
a config.h file. It also removes the ambiguity of config.h and
other/bootstrap_daemon/src/config.h.
2021-12-15 10:26:50 +00:00
zugz
1b2322284f
Add mechanism for recovering from disconnections in conferences
...
* add freezing and unfreezing of peers
* add rejoin packet
* revise handling of temporary invited connections
* rename "peer kill" packet to "peer leave" packet
* test rejoining in conference test
* use custom clock in conference test
2018-09-05 20:56:26 +02:00
zugz (tox)
9764285ab1
Use test clock in run_auto_test tests and dht test
2018-08-31 17:08:35 +02:00
zugz (tox)
66ab386d6f
try ipv6 connections even after udp timeout
...
Also adds a test (auto_reconnect_test) which fails without this change.
2018-08-27 22:27:01 +02:00