Printing "verify ..." should not be counted as a test for the
"xxx tests passed" message.
This commit is contained in:
		@@ -196,7 +196,7 @@ test_bn:
 | 
			
		||||
	@./$(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: $$_";} print STDERR "."; $$i++;} print STDERR "\n$$i tests passed\n"'
 | 
			
		||||
	@<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"'
 | 
			
		||||
	@echo 'test a^b%c implementations'
 | 
			
		||||
	./$(EXPTEST)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user