details: https://hg.nginx.org/njs/rev/881a1c4cd2fb branches: changeset: 2340:881a1c4cd2fb user: Dmitry Volyntsev <xeioexcept...@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