summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2016-08-23 16:33:48 +1000
committerDamien Miller <djm@mindrot.org>2016-08-23 16:33:48 +1000
commit6ee4f1c01ee31e65245881d49d4bccf014956066 (patch)
tree2ad8d3a50f5dbff0edccf5778eb0aee8e3763d3c /regress
parent114efe2bc0dd2842d997940a833f115e6fc04854 (diff)
hook match and utf8 unittests up to Makefile
Diffstat (limited to 'regress')
-rw-r--r--regress/Makefile2
-rw-r--r--regress/unittests/match/tests.c4
-rw-r--r--regress/unittests/utf8/tests.c4
3 files changed, 8 insertions, 2 deletions
diff --git a/regress/Makefile b/regress/Makefile
index 08fd82db..2910f13a 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -222,4 +222,6 @@ unit:
$$V ${.OBJDIR}/unittests/kex/test_kex ; \
$$V ${.OBJDIR}/unittests/hostkeys/test_hostkeys \
-d ${.CURDIR}/unittests/hostkeys/testdata ; \
+ $$V ${.OBJDIR}/unittests/match/test_match ; \
+ $$V ${.OBJDIR}/unittests/utf8/test_utf8 ; \
fi
diff --git a/regress/unittests/match/tests.c b/regress/unittests/match/tests.c
index aaca546b..44b89a58 100644
--- a/regress/unittests/match/tests.c
+++ b/regress/unittests/match/tests.c
@@ -5,6 +5,8 @@
* Placed in the public domain
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
@@ -12,7 +14,7 @@
#include <stdlib.h>
#include <string.h>
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
#include "match.h"
diff --git a/regress/unittests/utf8/tests.c b/regress/unittests/utf8/tests.c
index fad2ec27..6d06fa18 100644
--- a/regress/unittests/utf8/tests.c
+++ b/regress/unittests/utf8/tests.c
@@ -6,10 +6,12 @@
* and placed in the public domain.
*/
+#include "includes.h"
+
#include <locale.h>
#include <string.h>
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
#include "utf8.h"