ladybird/Tests
Andrew Kaster e96451edc9 Tests: Don't use TestRunners after their scope ends in test-js
The TestRunner objects at the end of test-js are destroyed after the
if/else that chooses whether to run the 262 parser tests or the standard
tests. Accessing TestRunner::the() after the lifetime of the TestRunners
ends is UB, so return the Test::Counts from run() instead. Also, fix the
destructor of TestRunner to set s_the to nullptr so that if anyone tries
this type of shenanigains again, they'll get a crash :^).
2021-05-14 08:34:00 +01:00
..
AK Tests: Mark use-after-scope NeverDestroyed test NO_SANITIZE_ADDRESS 2021-05-14 08:34:00 +01:00
Kernel Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
LibC Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
LibCompress Tests: Move LibCompress tests to Tests/LibCompress 2021-05-06 17:54:28 +02:00
LibCore Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
LibGfx Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
LibJS Tests: Don't use TestRunners after their scope ends in test-js 2021-05-14 08:34:00 +01:00
LibM Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
LibPthread Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
LibRegex Tests: Free all memory allocated with regcomp in RegexLibC tests 2021-05-14 08:34:00 +01:00
LibSQL Tests: Move LibSQL tests to Tests/LibSQL 2021-05-06 17:54:28 +02:00
LibWeb LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
UserspaceEmulator Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
CMakeLists.txt Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00