18 Commits

Author SHA1 Message Date
Fletcher Dunn 3866005276 Tweak how tests ignore lock perf warnings
(cherry picked from commit 4f4804a563)
2026-05-06 22:21:01 -07:00
Fletcher Dunn 5a35649901 Tweak lock warning thresholds to fix tests
(cherry picked from commit 2a40b7a652)
2026-05-06 22:20:59 -07:00
Fletcher Dunn 801b849d37 Tests: Restore the error message in fatal assert
(cherry picked from commit 7c4e3c8cd4)
2026-04-28 14:34:31 -07:00
Fletcher Dunn 8c92afa501 tests: fix posix build call of _exit()
And remove unneeded assert.h include

(cherry picked from commit 4fa4c78ff5)
2026-04-28 14:26:09 -07:00
Fletcher Dunn a523914c4c Tests: another attempt to quit with a fatal error
(cherry picked from commit 8bfa71b558)
2026-04-28 14:25:54 -07:00
Fletcher Dunn 177bee3364 Don't use assert() in tests
It pops a dialog on windows and hangs

(cherry picked from commit 092ec40cfb)
2026-04-28 14:20:42 -07:00
Fletcher Dunn f52f137cfd test_p2p can now adjust the spew level
We'll want CI to print detailed info to stdio

(cherry picked from commit 62f86f63b3)
2026-04-21 22:26:25 -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