summaryrefslogtreecommitdiff
path: root/regress/lib/libcrypto/certs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libcrypto/certs/Makefile')
-rw-r--r--regress/lib/libcrypto/certs/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/regress/lib/libcrypto/certs/Makefile b/regress/lib/libcrypto/certs/Makefile
new file mode 100644
index 00000000000..621c60907fb
--- /dev/null
+++ b/regress/lib/libcrypto/certs/Makefile
@@ -0,0 +1,21 @@
+# $OpenBSD: Makefile,v 1.1 2020/07/14 18:27:28 jsing Exp $
+
+.if ! (make(clean) || make(cleandir) || make(obj))
+GO_VERSION != sh -c "(go version) 2>/dev/null || true"
+.endif
+
+.if empty(GO_VERSION)
+regress:
+ @echo package go is required for this regress
+ @echo SKIPPED
+.endif
+
+REGRESS_TARGETS=regress-go-verify
+
+certs:
+ cd ${.CURDIR} && sh ./make-certs.sh
+
+regress-go-verify:
+ cd ${.CURDIR} && go test -test.v .
+
+.include <bsd.regress.mk>