cmark

My personal build of CMark ✏️

Commit
d2af455f9ff88e9c2f4540e1635d215207e2dbc2
Parent
627467cdf275a4aec20f966cde126833ba41f3ec
Author
John MacFarlane <jgm@berkeley.edu>
Date

Improved fuzztest target.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified Makefile 2 1 1
diff --git a/Makefile b/Makefile
@@ -88,7 +88,7 @@ operf: $(PROG)
 
 fuzztest:
 	for i in `seq 1 10`; do \
-	  time cat /dev/urandom | head -c 100000 | iconv -f latin1 -t utf-8 | $(PROG) >/dev/null; done
+	  time cat /dev/urandom | head -c 500000 | iconv -f latin1 -t utf-8 | tee fuzz-$$i.txt | $(PROG) > /dev/null && rm fuzz-$$i.txt ; done
 
 $(SITE)/index.html: spec.txt
 	./make_site_index.sh $(SPECVERSION) | \