chiark / gitweb /
regress: fuzzraw: Provide a dictionary
[adns.git] / regress / Makefile.in
index 19266a248078170ee5d0e8d7686dc403961064e9..4abc11313e52ee078e18dad5c70458dc6e08f303 100644 (file)
@@ -65,6 +65,10 @@ checkfuzz:           $(TARGETS) \
 
 fuzzcat.d:     checkfuzz
                $(srcdir)/categorisefuzz $(ALL_TESTS)
+               perl -ne 'print $$1,"\n" while m/\"([^"% ]{2,})\"/g' \
+                       $(srcdir)/../src/*.[ch] $(srcdir)/../client/*.[ch] \
+               | sort -u >fuzzcat.d/dictionary
+
 
 check-%:       case-%.sys
                @srcdir=$(srcdir) $(srcdir)/r1test $* || test $$? = 5