chiark / gitweb /
regress: fuzzraw: Provide a dictionary
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 9 Dec 2016 20:39:17 +0000 (20:39 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 11 Jun 2020 15:13:02 +0000 (16:13 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
regress/Makefile.in

index 19266a2..4abc113 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