ladybird/Libraries/LibTest
ayeteadoe 7683f1285f AK: Expose helpers to invoke Windows runtime config directly in main()
When shutting down helper processes, PosixSocketHelper::close() in
SocketWindows when trying to close the socket fd with
WSANOTINITIALISED. This was due to us initiating WinSock2 during static
initialization and presumably also not terminating WinSock2 properly.

Similar to WinSock2 initiation, calling CRT during static
initialization is considered dangerous given the CRT DLL itself may not
yet be initialized.

Because of the above, we move to perform this Windows-specific
runtime setup/teardown calls into the main() functions.
2025-10-29 21:07:52 -06:00
..
Randomized Everywhere: Remove sv suffix from format string literals 2025-04-08 20:00:18 -04:00
AssertionHandler.cpp LibTest: Support death tests without child process cloning 2025-05-16 13:23:32 -06:00
AssertionHandler.h LibTest: Support death tests without child process cloning 2025-05-16 13:23:32 -06:00
CMakeLists.txt LibTest: Move declaration of JS main target around to avoid CMake bug 2025-07-09 16:26:49 -06:00
JavaScriptTestRunner.h LibJS: Port the JS lexer and parser to UTF-16 2025-08-13 09:56:13 -04:00
JavaScriptTestRunnerMain.cpp LibJS: Sync additional Import Attributes spec changes 2025-10-22 10:58:19 +02:00
Macros.h LibTest: Support death tests without child process cloning 2025-05-16 13:23:32 -06:00
Results.h AK+Everywhere: Remove now-unecessary use of ByteString with JSON types 2025-02-20 19:27:51 -05:00
TestCase.h LibTest: Support death tests without child process cloning 2025-05-16 13:23:32 -06:00
TestMain.cpp AK: Expose helpers to invoke Windows runtime config directly in main() 2025-10-29 21:07:52 -06:00
TestResult.h LibTest: Explicitly export symbols 2025-05-16 13:23:32 -06:00
TestRunner.h Everywhere: Use Optional<T>::ensure() where useful 2025-09-17 12:01:18 -04:00
TestRunnerUtil.h LibTest/Tests: Build and run test-js on windows 2025-06-05 22:00:55 -06:00
TestSuite.cpp Tests: Fix calculation of elapsed time in tests 2025-07-12 14:05:32 +02:00
TestSuite.h LibTest: Explicitly export symbols 2025-05-16 13:23:32 -06:00