Add basic testing infrastructure + initial tests
[onak.git] / Makefile.in
index 4ec39dad8fbbc4b71da02ba3191010ee8f6b9638..f294acda337403ae78bb4515013026e430683ea9 100644 (file)
@@ -48,6 +48,9 @@ OBJS = stats.o cleankey.o $(CORE_OBJS) $(KEYDB_OBJ)
 all: .depend $(PROGS) testparse maxpath sixdegrees splitkeys onak.conf \
        $(BACKENDS)
 
+test: onak $(BACKENDS)
+       @./runtests
+
 install: $(PROGS) onak.conf $(BACKENDS)
        install -d $(DESTDIR)/@bindir@
        install -d $(DESTDIR)/@libdir@/onak/backends