chiark / gitweb /
regress: fuzzraw: Provide a dictionary
[adns.git] / regress / Makefile.in
index e0d84a96a3c76626d8787a6b5a4cc8573074633b..4abc11313e52ee078e18dad5c70458dc6e08f303 100644 (file)
@@ -64,7 +64,11 @@ checkfuzz:           $(TARGETS) \
 # it doesn't really test any of adns
 
 fuzzcat.d:     checkfuzz
-               $(srcdir)/categorizefuzz $(ALL_TESTS)
+               $(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
@@ -79,7 +83,7 @@ fuzzraw-%:    fuzz-%
 checkfuzz-%:   fuzz-% $(TARGETS)
                @srcdir=$(srcdir) $(srcdir)/check1fuzz $<
 
-checkfuzzraw-%:        fuzzraw-% $(TARGETS)
+checkfuzzraw-%:        fuzz-% $(TARGETS)
                @srcdir=$(srcdir) $(srcdir)/check1fuzz $<
 
 LINK_CMD=      $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@