Commit 44870147 authored by Ulf Möller's avatar Ulf Möller
Browse files

Stop on bntest error.

parent 572f0017
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"'