Commit Graph

18 Commits

Author SHA1 Message Date
Fletcher Dunn 4f4804a563 Tweak how tests ignore lock perf warnings 2026-05-06 20:00:29 -07:00
Fletcher Dunn 2a40b7a652 Tweak lock warning thresholds to fix tests 2026-05-04 10:16:47 -07:00
Fletcher Dunn 7c4e3c8cd4 Tests: Restore the error message in fatal assert 2026-04-26 11:46:05 -07:00
Fletcher Dunn 4fa4c78ff5 tests: fix posix build call of _exit()
And remove unneeded assert.h include
2026-04-25 17:16:16 -07:00
Fletcher Dunn 8bfa71b558 Tests: another attempt to quit with a fatal error 2026-04-25 14:37:11 -07:00
Fletcher Dunn 092ec40cfb Don't use assert() in tests
It pops a dialog on windows and hangs
2026-04-25 13:15:41 -07:00
Fletcher Dunn 62f86f63b3 test_p2p can now adjust the spew level
We'll want CI to print detailed info to stdio
2026-04-20 22:18:50 -07:00
Fletcher Dunn 60fa445029 Refactor a few things in the test framework.
To support a p2p stress test that is currently specific to the steam branch.

P4:808802,8088026
2023-05-27 16:34:17 -07:00
Fletcher Dunn 6974c9a15b Disable auth in test when running with Steam support
(Not relevant to opensoruce code)
2022-04-26 15:56:55 -07:00
Fletcher Dunn b794235422 STEAMNETWORKINGSOCKETS_NOSTEAM is now a thing.
(Not really relevant to the opensource code.)

P4:7193707,7193716,7193719,7193724
2022-04-07 17:58:23 -07:00
Fletcher Dunn 6929b294b5 Make it possible to use partner lib without Steam support.
(Not relevant for opensource code.)

P4:7021327
2022-01-25 14:19:39 -08:00
Fletcher Dunn 40d7918397 Fix tests in non-opensource environment
P4:6818552
2021-10-08 13:55:16 -07:00
Fletcher Dunn 23e1350ada Reduce Nagle spew priority
In tests, only print Msg level or higher to stdout.
Otherwise, just go to log file.

P4:6653826,6653840
2021-07-06 15:48:03 -07:00
Fletcher Dunn 0e0aad5bc2 Increase verbosity of test output 2021-05-20 13:21:41 -07:00
Fletcher Dunn 4532f25dee Rename SteamDatagramTransportLock to SteamNetworkingGlobalLock.
This is the start of some refactoring for more granular locking.
2020-12-21 09:50:08 -08:00
Fletcher Dunn 343fed751e Fix unused parameter 2020-09-01 15:48:45 -07:00
Fletcher Dunn b81bdd6ac7 P2P test mostly written.
I really need to be able to compile the webrtc code with my version
of cmake to make further progress on this.
2020-08-31 14:57:40 -07:00
Fletcher Dunn 1205aa893b Start P2P test. WIP.
Moved some common stuff out of test_connection.cpp to test_common.cpp.
2020-08-31 10:55:26 -07:00