LibJS: Move tests to /Tests/LibJS

This commit is contained in:
Jelle Raaijmakers
2026-01-22 11:58:59 +01:00
committed by Tim Flynn
parent c059c6a2f5
commit e3faa9b5ad
Notes: github-actions[bot] 2026-02-06 11:17:48 +00:00
1067 changed files with 7 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
Libraries/LibJS/Tests/invalid-lhs-in-assignment.js
Libraries/LibJS/Tests/unicode-identifier-escape.js
Libraries/LibJS/Tests/modules/failing.mjs
Tests/LibJS/Runtime/invalid-lhs-in-assignment.js
Tests/LibJS/Runtime/unicode-identifier-escape.js
Tests/LibJS/Runtime/modules/failing.mjs
Tests/LibWeb/Crash/wpt-import/
Tests/LibWeb/Ref/input/wpt-import

View File

@@ -157,7 +157,7 @@ int main(int argc, char** argv)
return 1;
}
test_root = LexicalPath::join(*ladybird_source_dir, g_test_root_fragment).string();
common_path = LexicalPath::join(*ladybird_source_dir, "Libraries"sv, "LibJS"sv, "Tests"sv, "test-common.js"sv).string();
common_path = LexicalPath::join(*ladybird_source_dir, "Tests"sv, "LibJS"sv, "Runtime"sv, "test-common.js"sv).string();
}
if (!FileSystem::is_directory(test_root)) {
warnln("Test root is not a directory: {}", test_root);
@@ -170,7 +170,7 @@ int main(int argc, char** argv)
warnln("No test root given, {} requires the LADYBIRD_SOURCE_DIR environment variable to be set", g_program_name);
return 1;
}
common_path = LexicalPath::join(*ladybird_source_dir, "Libraries"sv, "LibJS"sv, "Tests"sv, "test-common.js"sv).string();
common_path = LexicalPath::join(*ladybird_source_dir, "Tests"sv, "LibJS"sv, "Runtime"sv, "test-common.js"sv).string();
}
auto test_root_or_error = FileSystem::real_path(test_root);

Some files were not shown because too many files have changed in this diff Show More