From a3ab6c253b193161a68377a18ae57d323a7a00ae Mon Sep 17 00:00:00 2001 From: Yusuke Shinyama Date: Wed, 25 Jun 2014 19:50:20 +0900 Subject: [PATCH] Fixed: loose autotesting. --- samples/Makefile | 20 ++++++++++---------- samples/nonfree/f1040nr.html.ref | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/samples/Makefile b/samples/Makefile index 1c65547..d1b06c4 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -39,21 +39,21 @@ all: tests crypts tests: for i in $(TESTS); do \ $(ECHO) $$i; \ - $(PDF2TXT) -t html -o $$i.html $$i.pdf; \ - $(CMP) $$i.html $$i.html.ref; \ - $(PDF2TXT) -t xml -o $$i.xml $$i.pdf; \ - $(CMP) $$i.xml $$i.xml.ref; \ - $(PDF2TXT) -t text -o $$i.txt $$i.pdf; \ - $(CMP) $$i.txt $$i.txt.ref; \ + $(PDF2TXT) -t html -o $$i.html $$i.pdf || exit 1; \ + $(CMP) $$i.html $$i.html.ref || exit 1; \ + $(PDF2TXT) -t xml -o $$i.xml $$i.pdf || exit 1; \ + $(CMP) $$i.xml $$i.xml.ref || exit 1; \ + $(PDF2TXT) -t text -o $$i.txt $$i.pdf || eixt 1; \ + $(CMP) $$i.txt $$i.txt.ref || exit 1; \ done crypts: for i in $(CRYPTS); do \ $(ECHO) $$i; \ - $(PDF2TXT) -t xml -P $(CRYPT_PASS1) -o $$i.1.xml $$i.pdf; \ - $(CMP) $$i.1.xml $(CRYPT_BASE).xml; \ - $(PDF2TXT) -t xml -P $(CRYPT_PASS2) -o $$i.2.xml $$i.pdf; \ - $(CMP) $$i.2.xml $(CRYPT_BASE).xml; \ + $(PDF2TXT) -t xml -P $(CRYPT_PASS1) -o $$i.1.xml $$i.pdf || exit 1; \ + $(CMP) $$i.1.xml $(CRYPT_BASE).xml || exit 1; \ + $(PDF2TXT) -t xml -P $(CRYPT_PASS2) -o $$i.2.xml $$i.pdf || exit 1; \ + $(CMP) $$i.2.xml $(CRYPT_BASE).xml || exit 1; \ done test: diff --git a/samples/nonfree/f1040nr.html.ref b/samples/nonfree/f1040nr.html.ref index e0d71fb..53f117c 100644 --- a/samples/nonfree/f1040nr.html.ref +++ b/samples/nonfree/f1040nr.html.ref @@ -269,9 +269,9 @@
Taxable amount (see page 13)

22 -
-

+
+