details: https://github.com/nginx/njs/commit/d6d74ba39167be10870e9a6eef17ae022b67074c
branches: master
commit: d6d74ba39167be10870e9a6eef17ae022b67074c
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu, 5 Dec 2024 19:53:11 -0800
description:
Test262: skipping individual tests.
---
test/harness/runTsuite.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/harness/runTsuite.js b/test/harness/runTsuite.js
index f7ec8f48..5ba0ef46 100644
--- a/test/harness/runTsuite.js
+++ b/test/harness/runTsuite.js
@@ -22,6 +22,10 @@ async function run(tlist) {
function map(ts) {
return ts.tests.map(t => {
try {
+ if (t.skip && t.skip()) {
+ return Promise.resolve("SKIPPED");
+ }
+
return ts.T(ts.prepare_args(t, ts.opts));
} catch (e) {
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel