Commit 44b51ca3 authored by Bodo Möller's avatar Bodo Möller
Browse files

Don't throw away bctest's error messages.

parent bbf848ce
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -193,10 +193,10 @@ 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`" 2>&1 | $(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"'
	@<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"'
	@echo 'test a^b%c implementations'
	./$(EXPTEST)