From f50805b30323155755393ac6639aaae1067452c1 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 21 May 2015 13:47:12 -0400 Subject: Add test harness: no useful tests yet, just the framework. Add human-readable error strings for hal_error_t codes. --- tests/Makefile.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/Makefile.in (limited to 'tests/Makefile.in') diff --git a/tests/Makefile.in b/tests/Makefile.in new file mode 100644 index 0000000..f63e4fc --- /dev/null +++ b/tests/Makefile.in @@ -0,0 +1,24 @@ +# @configure_input@ + +INC = ../cryptech.h +LIB = ../libcryptech.a +BIN = test-aes-key-wrap + +CC = @CC@ +CFLAGS = @CFLAGS@ -I.. +LDFLAGS = @LDFLAGS@ ${LIB} + +all: ${BIN} + +*.o: ${INC} + +${BIN}: ${LIB} + +test: all + for i in ${BIN}; do ./$$i; done + +clean: + rm -f *.o ${BIN} + +distclean: clean + rm -f Makefile -- cgit v1.2.3