summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-06-20 10:30:40 +0000
committermiod <miod@openbsd.org>2014-06-20 10:30:40 +0000
commit1aba091e1f25bdc59c25a401ed2bc620f14760d3 (patch)
tree948274d4a82c78b365fb7ff2b1ddc5e70d6b8e04
parentsf@ pointed out that atom.c defines a DEBUG macro that takes arguments, (diff)
downloadwireguard-openbsd-1aba091e1f25bdc59c25a401ed2bc620f14760d3.tar.xz
wireguard-openbsd-1aba091e1f25bdc59c25a401ed2bc620f14760d3.zip
Move the crypto/bn regression test one directory deeper in preparation for
it getting siblings.
-rw-r--r--regress/lib/libcrypto/bn/Makefile13
-rw-r--r--regress/lib/libcrypto/bn/general/Makefile9
-rw-r--r--regress/lib/libcrypto/bn/general/bntest.c (renamed from regress/lib/libcrypto/bn/bntest.c)0
3 files changed, 15 insertions, 7 deletions
diff --git a/regress/lib/libcrypto/bn/Makefile b/regress/lib/libcrypto/bn/Makefile
index ecc2e79075c..a19e4568925 100644
--- a/regress/lib/libcrypto/bn/Makefile
+++ b/regress/lib/libcrypto/bn/Makefile
@@ -1,9 +1,8 @@
-# $OpenBSD: Makefile,v 1.2 2014/06/01 11:11:45 miod Exp $
+# $OpenBSD: Makefile,v 1.3 2014/06/20 10:30:40 miod Exp $
-PROG= bntest
-LDADD= -lcrypto
-DPADD= ${LIBCRYPTO}
-WARNINGS= Yes
-CFLAGS+= -Werror
+SUBDIR= \
+ general
-.include <bsd.regress.mk>
+install:
+
+.include <bsd.subdir.mk>
diff --git a/regress/lib/libcrypto/bn/general/Makefile b/regress/lib/libcrypto/bn/general/Makefile
new file mode 100644
index 00000000000..506c5d7e9ee
--- /dev/null
+++ b/regress/lib/libcrypto/bn/general/Makefile
@@ -0,0 +1,9 @@
+# $OpenBSD: Makefile,v 1.1 2014/06/20 10:30:40 miod Exp $
+
+PROG= bntest
+LDADD= -lcrypto
+DPADD= ${LIBCRYPTO}
+WARNINGS= Yes
+CFLAGS+= -Werror
+
+.include <bsd.regress.mk>
diff --git a/regress/lib/libcrypto/bn/bntest.c b/regress/lib/libcrypto/bn/general/bntest.c
index 74a97e9c8a3..74a97e9c8a3 100644
--- a/regress/lib/libcrypto/bn/bntest.c
+++ b/regress/lib/libcrypto/bn/general/bntest.c