Anonymous User
October 10, 2024 12:46PM
details: https://github.com/nginx/njs/commit/7b9ae6607b1bc9dae126a1a81ce1041bc79d8734
branches: master
commit: 7b9ae6607b1bc9dae126a1a81ce1041bc79d8734
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Wed, 9 Oct 2024 16:05:26 -0700
description:
Test262: reporting name of the testsuite for a failed test.


---
test/harness/runTsuite.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/harness/runTsuite.js b/test/harness/runTsuite.js
index aa3f5c0f..8103f661 100644
--- a/test/harness/runTsuite.js
+++ b/test/harness/runTsuite.js
@@ -30,7 +30,7 @@ async function run(tlist) {
let r = results.map((r, i) => validate(ts.tests, r, i));

r.forEach((v, i) => {
- assert.sameValue(v, true, `FAILED ${i}: ${JSON.stringify(ts.tests[i])}\n with reason: ${results[i].reason}`);
+ assert.sameValue(v, true, `FAILED ${ts.name}: ${JSON.stringify(ts.tests[i])}\n with reason: ${results[i].reason}`);
})
}
}
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Test262: reporting name of the testsuite for a failed test.

Anonymous User 178 October 10, 2024 12:46PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 245
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready