Skip to content

Commit 68ed34f

Browse files
tidy-html5: fix so run_tests.sh work without network (#13689)
``` ./infra/experimental/chronos/check_tests.sh tidy-html5 c++ ... ... PASSED | status 0 expected 0 | /src/tidy-html5/regression_testing/cases/xml-cases/case-540045@0.xhtml PASSED | status 1 expected 1 | /src/tidy-html5/regression_testing/cases/xml-cases/case-542029@1.html PASSED | status 1 expected 1 | /src/tidy-html5/regression_testing/cases/xml-cases/case-586555@1.html PASSED | status 0 expected 0 | /src/tidy-html5/regression_testing/cases/xml-cases/case-616744@0.xml PASSED | status 1 expected 1 | /src/tidy-html5/regression_testing/cases/xml-cases/case-634889@1.html PASSED | status 0 expected 0 | /src/tidy-html5/regression_testing/cases/xml-cases/case-640474@0.xml PASSED | status 0 expected 0 | /src/tidy-html5/regression_testing/cases/xml-cases/case-646946@0.xml Ran 401 tests, of which 401 passed and 0 failed. Test conducted with HTML Tidy 5.9.20 using test sets for version 5.9.20. -------------------------------------------------------- Total time taken to replay tests: 7 ``` --------- Signed-off-by: David Korczynski <david@adalogics.com>
1 parent 8245513 commit 68ed34f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/tidy-html5/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ RUN apt-get update && \
2424
RUN git clone -b next --single-branch \
2525
https://github.com/htacg/tidy-html5.git tidy-html5
2626
WORKDIR tidy-html5
27+
RUN cd regression_testing && bundle2.7 install
2728
COPY *.sh *.c *.h *.options $SRC/

projects/tidy-html5/run_tests.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@
1616
###############################################################################
1717

1818
cd regression_testing
19-
bundle2.7 install
20-
ASAN_OPTIONS=detect_leaks=0 ./test.rb test
19+
ASAN_OPTIONS=detect_leaks=0 ./test.rb test

0 commit comments

Comments
 (0)