aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.in
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-05-21 13:47:12 -0400
committerRob Austein <sra@hactrn.net>2015-05-21 13:47:12 -0400
commitf50805b30323155755393ac6639aaae1067452c1 (patch)
treefad5d3558ad64713b96673c104a6a84f36d72c72 /tests/Makefile.in
parente2de6b1f6d220fc2481b19bd1ed203b493d2db18 (diff)
Add test harness: no useful tests yet, just the framework.
Add human-readable error strings for hal_error_t codes.
Diffstat (limited to 'tests/Makefile.in')
-rw-r--r--tests/Makefile.in24
1 files changed, 24 insertions, 0 deletions
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