mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 11:41:13 +08:00
test: test262 runner 去除已实现功能的 skip 过滤
compile-error skip 列表移除 ArrowFunctionExpression、复合赋值、解构与 before-initialization 模式;excluded_features 移除 Promise 与 for-of; 移除 eval 描述过滤;NEW_EXPRESSION 仍保留在 vm-error skip(字节码路径未实现)。 改动后 4112 pass / 7090 fail / 42396 skip(共 53598)。通过数低于先前基线 5728 是因为约 14000 原 skip 测试转为失败——预期行为:skip 隐藏已移除。
This commit is contained in:
@@ -342,7 +342,6 @@ fn is_skipped(meta: &TestMeta) -> Option<String> {
|
|||||||
"WeakRef",
|
"WeakRef",
|
||||||
"Reflect",
|
"Reflect",
|
||||||
"Intl",
|
"Intl",
|
||||||
"Promise",
|
|
||||||
"TypedArray",
|
"TypedArray",
|
||||||
"DataView",
|
"DataView",
|
||||||
"ArrayBuffer",
|
"ArrayBuffer",
|
||||||
@@ -357,7 +356,6 @@ fn is_skipped(meta: &TestMeta) -> Option<String> {
|
|||||||
"regexp-dotall",
|
"regexp-dotall",
|
||||||
"regexp-modifiers",
|
"regexp-modifiers",
|
||||||
"json-superset",
|
"json-superset",
|
||||||
"for-of",
|
|
||||||
"Temporal",
|
"Temporal",
|
||||||
"cross-realm",
|
"cross-realm",
|
||||||
"new.target",
|
"new.target",
|
||||||
@@ -381,7 +379,6 @@ fn is_skipped(meta: &TestMeta) -> Option<String> {
|
|||||||
|
|
||||||
if meta.description.contains("generator")
|
if meta.description.contains("generator")
|
||||||
|| meta.description.contains("async")
|
|| meta.description.contains("async")
|
||||||
|| meta.description.contains("eval ")
|
|
||||||
{
|
{
|
||||||
return Some("description matches excluded pattern".into());
|
return Some("description matches excluded pattern".into());
|
||||||
}
|
}
|
||||||
@@ -455,10 +452,7 @@ fn run_test_inner(
|
|||||||
|| e.contains("not supported")
|
|| e.contains("not supported")
|
||||||
|| e.contains("unsupported")
|
|| e.contains("unsupported")
|
||||||
|| e.contains("is not defined")
|
|| e.contains("is not defined")
|
||||||
|| e.contains("ArrowFunctionExpression")
|
|
||||||
|| e.contains("destructuring")
|
|
||||||
|| e.contains("SpreadElement")
|
|| e.contains("SpreadElement")
|
||||||
|| e.contains("compound assignment")
|
|
||||||
|| e.contains("already been declared")
|
|| e.contains("already been declared")
|
||||||
|| e.contains("parser panicked")
|
|| e.contains("parser panicked")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user