ladybird/Tests/LibJS
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
..
CMakeLists.txt Tests: Fix install of test-js and test-web 2021-05-09 11:04:38 +02:00
test-js.cpp Tests: Don't use TestRunners after their scope ends in test-js 2021-05-14 08:34:00 +01:00