summaryrefslogtreecommitdiff
path: root/regress/lib/libressl/goressl/Makefile
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-07-12 16:01:29 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-07-12 16:01:29 +0000
commit7dbb741c19a6a70ae676e79e9a5ca1055411a3cb (patch)
tree489a8cebdd93c2740fd5f7f97fea225e9877eebe /regress/lib/libressl/goressl/Makefile
parent91bec7f827239240f2a5fc351974de009dd87dd4 (diff)
Add an initial regress test for libressl, which calls ressl from Go and
makes it talk to a Go TLS server.
Diffstat (limited to 'regress/lib/libressl/goressl/Makefile')
-rw-r--r--regress/lib/libressl/goressl/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/lib/libressl/goressl/Makefile b/regress/lib/libressl/goressl/Makefile
new file mode 100644
index 00000000000..d938db3f370
--- /dev/null
+++ b/regress/lib/libressl/goressl/Makefile
@@ -0,0 +1,15 @@
+# $OpenBSD: Makefile,v 1.1 2014/07/12 16:01:28 jsing Exp $
+
+GO_VERSION != sh -c "(go version) 2>/dev/null || true"
+
+.if empty(GO_VERSION)
+regress:
+ @echo golang is required for this regress... skipping
+.endif
+
+REGRESS_TARGETS=regress-goressl
+
+regress-goressl:
+ cd ${.CURDIR} && go test -test.v .
+
+.include <bsd.regress.mk>