Stop on bntest error.

This commit is contained in:
Ulf Möller 2000-12-10 04:25:57 +00:00
parent 572f0017d5
commit 448701473a

View File

@ -193,7 +193,7 @@ test_pkcs7:
test_bn:
@echo starting big number library test, could take a while...
-@./$(BNTEST) >tmp.bntest
@./$(BNTEST) >tmp.bntest
@echo quit >>tmp.bntest
@echo "running bc"
@<tmp.bntest sh -c "`sh ./bctest`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"'