mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
Everywhere: Remove Serenity specific code from tests
We no longer run our tests on Serenity.
This commit is contained in:
parent
66662496e6
commit
23eba28c22
Notes:
sideshowbarker
2024-07-17 17:49:11 +09:00
Author: https://github.com/tcl3
Commit: 23eba28c22
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/427
11 changed files with 11 additions and 66 deletions
|
@ -223,12 +223,7 @@ TEST_CASE(doctype)
|
|||
// If that changes, or something is added to the test HTML, the hash needs to be adjusted.
|
||||
TEST_CASE(regression)
|
||||
{
|
||||
// This makes sure that the tests will run both on target and in Lagom.
|
||||
#ifdef AK_OS_SERENITY
|
||||
StringView path = "/usr/Tests/LibWeb/tokenizer-test.html"sv;
|
||||
#else
|
||||
StringView path = "tokenizer-test.html"sv;
|
||||
#endif
|
||||
|
||||
auto file = MUST(Core::File::open(path, Core::File::OpenMode::Read));
|
||||
auto file_size = MUST(file->size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue