Welcome! Log In Create A New Profile

Advanced

[njs] Test262: improved skipping of tests.

Anonymous User
May 28, 2024 06:02PM
details: https://hg.nginx.org/njs/rev/881a1c4cd2fb
branches:
changeset: 2340:881a1c4cd2fb
user: Dmitry Volyntsev <xeioexception@gmail.com>
date: Tue May 28 14:16:14 2024 -0700
description:
Test262: improved skipping of tests.

The skipped tests (which are expected to fail) are not executed in order
to make output clearer.

diffstat:

test/test262 | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r f75f670905f0 -r 881a1c4cd2fb test/test262
--- a/test/test262 Thu May 23 22:50:34 2024 -0700
+++ b/test/test262 Tue May 28 14:16:14 2024 -0700
@@ -19,6 +19,11 @@ for njs_test in $NJS_TESTS; do
running $njs_test $njs_log
END

+ if [ "$NJS_SKIP_LIST" != "${NJS_SKIP_LIST#*$njs_test*}" ]; then
+ skip $njs_test
+ continue
+ fi
+
status=0

NJS_PATH=$njs_paths \
@@ -28,11 +33,6 @@ END
cat $njs_log >> $NJS_TEST_LOG
njs_out=`cat $njs_log`

- if [ "$NJS_SKIP_LIST" != "${NJS_SKIP_LIST#*$njs_test*}" ]; then
- skip $njs_test
- continue
- fi
-
if [ "$status" -eq 0 ]; then
if [ -n "$njs_negative" ]; then
failed $njs_test $njs_log
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Test262: improved skipping of tests.

Anonymous User 151 May 28, 2024 06:02PM



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

Online Users

Guests: 101
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