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
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
iphydf
605dfe882c
Consistently use camel case enum names.
...
Including in tests and implementation files.
2018-10-09 17:33:37 +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
iphydf
7245ac11ef
Avoid implementations in .h files or #including .c files.
...
Also, avoid the need for putting `_XOPEN_SOURCE` in every test file.
2018-07-21 20:44:26 +00:00
iphydf
597f23bdd9
Use run_auto_test.h test fixture for some auto-tests.
...
Most of the auto-tests should use this fixture, but I've only done a few
to set an example.
2018-07-05 23:41:27 +00:00
iphydf
706fad1ce8
Add a test to try and overflow the send queue in net_crypto.
2018-06-29 23:24:20 +00:00