mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibJS: Move tests to /Tests/LibJS
This commit is contained in:
committed by
Tim Flynn
parent
c059c6a2f5
commit
e3faa9b5ad
Notes:
github-actions[bot]
2026-02-06 11:17:48 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/e3faa9b5add Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7572 Reviewed-by: https://github.com/trflynn89 ✅
@@ -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
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user