Revert changes unrelated to this feature.

pull/55/head
speedplane 2016-06-13 23:44:54 -04:00
parent 2049462f6f
commit 549b560765
1 changed files with 3 additions and 12 deletions

View File

@ -1,15 +1,9 @@
# GNUMakefile for test
UNAME_S := $(shell uname -o)
CNVTXT=:
ifeq ($(UNAME_S),Cygwin)
CNVTXT=unix2dos
endif
RM=rm -f
CMP=:
ECHO=echo
PYTHON=python
PYTHON=python2
PDF2TXT=PYTHONPATH=.. $(PYTHON) ../tools/pdf2txt.py -p1 -V
@ -46,13 +40,10 @@ tests:
for i in $(TESTS); do \
$(ECHO) $$i; \
$(PDF2TXT) -t html -o $$i.html $$i.pdf || exit 1; \
$(CNVTXT) $$i.html || exit 1; \
$(CMP) $$i.html $$i.html.ref || exit 1; \
$(PDF2TXT) -t xml -o $$i.xml $$i.pdf || exit 1; \
$(CNVTXT) $$i.xml || exit 1; \
$(CMP) $$i.xml $$i.xml.ref || exit 1; \
$(PDF2TXT) -t text -o $$i.txt $$i.pdf || exit 1; \
$(CNVTXT) $$i.txt || exit 1; \
$(PDF2TXT) -t text -o $$i.txt $$i.pdf || eixt 1; \
$(CMP) $$i.txt $$i.txt.ref || exit 1; \
done
@ -74,4 +65,4 @@ clean:
done
-for i in $(CRYPTS); do \
$(RM) $$i.1.xml $$i.2.xml; \
done
done