[njs] Test262: improved skipping of tests.
noreply at nginx.com
noreply at nginx.com
Tue May 28 22:00:03 UTC 2024
details: https://hg.nginx.org/njs/rev/881a1c4cd2fb
branches:
changeset: 2340:881a1c4cd2fb
user: Dmitry Volyntsev <xeioexception at 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
More information about the nginx-devel
mailing list