Skip to content
Snippets Groups Projects
Commit 12fa38e6 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Fix.

parent b56d6cf6
Branches
No related tags found
No related merge requests found
......@@ -25,15 +25,15 @@ echo "" > "${JUNIT_FILE}"
echo "<?xml version='1.0'?>" >> "${JUNIT_FILE}"
echo "<testsuites>" >> "${JUNIT_FILE}"
echo "<testsuite name='Tidy' tests='$(( ${#PASS[@]} + ${#FAIL[@]} ))' failures='$((${#FAIL[@]}))' skipped='0' time='0.0000'>" >> "${JUNIT_FILE}"
echo "<testsuite name='tidy' tests='$(( ${#PASS[@]} + ${#FAIL[@]} ))' failures='$((${#FAIL[@]}))' skipped='0' time='0.0000'>" >> "${JUNIT_FILE}"
for test in "${PASS[@]}"
do
echo "<testcase name='${test}' classname='Tidy' time='0.0000'/>" >> "${JUNIT_FILE}"
echo "<testcase name='${test}' classname='tidy' time='0.0000'/>" >> "${JUNIT_FILE}"
done
for test in "${FAIL[@]}"
do
echo "<testcase name='${test}' classname='Tidy' time='0.0000'>" >> "${JUNIT_FILE}"
echo "<testcase name='${test}' classname='tidy' time='0.0000'>" >> "${JUNIT_FILE}"
echo "<failure message='malformed HTML'/>" >> "${JUNIT_FILE}"
echo "</testcase>" >> "${JUNIT_FILE}"
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment