File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -117,8 +117,10 @@ if [ "$TEST" = "w3cval" ]; then
117117
118118 section_start " Install testsuite"
119119 cd " $DIR "
120- wget https://github.com/validator/validator/releases/download/20.6.30 /vnu.linux.zip
120+ wget https://github.com/validator/validator/releases/download/latest /vnu.linux.zip
121121 unzip -q vnu.linux.zip
122+ # Remove a warning by creating an empty config.
123+ touch vnu.properties
122124 section_end
123125
124126 FLTR=' --filterpattern .*autocomplete.*|.*role=tab.*|.*descendant.*|.*Stray.*|.*attribute.*|.*Forbidden.*|.*stream.*|.*obsolete.*'
@@ -128,7 +130,7 @@ if [ "$TEST" = "w3cval" ]; then
128130 # shellcheck disable=SC2086
129131 " $DIR " /vnu-runtime-image/bin/vnu --errors-only --exit-zero-always --skip-non-$typ --format json $FLTR " $URL " 2> result.json
130132 # shellcheck disable=SC2086
131- NEWFOUNDERRORS=$( " $DIR " /vnu-runtime-image/bin/vnu --errors-only --exit-zero-always --skip-non-$typ --format gnu $FLTR " $URL " 2>&1 | wc -l)
133+ NEWFOUNDERRORS=$( " $DIR " /vnu-runtime-image/bin/vnu --errors-only --exit-zero-always --skip-non-$typ --format gnu $FLTR " $URL " 2>&1 | tee " $ARTIFACTS /w3c_ ${typ} _ ${URL} .log " | wc -l)
132134 FOUNDERR=$(( NEWFOUNDERRORS+ FOUNDERR))
133135 python3 -m " json.tool" < result.json > " $ARTIFACTS /w3c$typ$URL .json"
134136 trace_off; python3 .github/jobs/jsontogha.py " $ARTIFACTS /w3c$typ$URL .json" ; trace_on
You can’t perform that action at this time.
0 commit comments