aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test-epub-validity.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-epub-validity.sh')
-rwxr-xr-xtest/test-epub-validity.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/test-epub-validity.sh b/test/test-epub-validity.sh
index b3fde21..6eab838 100755
--- a/test/test-epub-validity.sh
+++ b/test/test-epub-validity.sh
@@ -38,11 +38,7 @@ SPINE_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
# zero is the point: anything at all that epubcheck calls an error is a
# regression, and there is no list to add to.
#
-# Two warnings remain and are not counted here. Both are NAV-011 in the
-# same shape, in two documents: the navigation document lists one file
-# twice, and the repeat is behind the previous entry in spine order. It
-# comes from how the endnotes part and section headings are ordered, not
-# from the navigation writer.
+# No warning is outstanding either, though warnings are not counted here.
FATALS_ALLOWED=${SpineEpubFatalsAllowed:-0}
ERRORS_ALLOWED=${SpineEpubErrorsAllowed:-0}
@@ -57,11 +53,6 @@ if [ -d "$SAMPLES_RAW" ]; then
else
SAMPLES_DIR="$SAMPLES_RAW"
fi
-# SPINE_BIN="${1:-}"
-# if [ -z "$SPINE_BIN" ] || [ ! -x "$SPINE_BIN" ]; then
-# echo "ERROR: give the spine binary, e.g. ./bin/spine-ldc" >&2
-# exit 2
-# fi
SPINE_BIN="${1:-}"
# find spine binary
if [ -z "$SPINE_BIN" ]; then