From: Alan T. DeKok Date: Fri, 3 Apr 2020 13:54:31 +0000 (-0400) Subject: added wrapper for miscellaneous tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e782f224c2ea70656cab3878f58bd26eaf081aa;p=thirdparty%2Ffreeradius-server.git added wrapper for miscellaneous tests --- diff --git a/src/tests/misc/all.mk b/src/tests/misc/all.mk new file mode 100644 index 00000000000..f1ad2349085 --- /dev/null +++ b/src/tests/misc/all.mk @@ -0,0 +1,16 @@ +$(BUILD_DIR)/bin/test_cursor: src/lib/util/cursor.c + ${Q}$(CC) $^ -g3 -Wall -DTESTING_CURSOR -Isrc/ -Isrc/lib/ -include src/include/build.h -l talloc -o $@ + +OUTPUT := $(BUILD_DIR)/tests/misc + +.PHONY: $(OUTPUT) +$(OUTPUT): + @${Q}mkdir -p $@ + +$(OUTPUT)/cursor.log: $(BUILD_DIR)/bin/test_cursor | $(OUTPUT) + ${Q}if ! $^ > $@ ; then \ + echo FAILED "$^ > $@"; \ + fi + +test.misc: $(OUTPUT)/cursor.log +