From 3ff6030e8971553e04afe4baa98d53315f2a1666 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cenk=20G=C3=BCndo=C4=9Fan?= <cnkgndgn@gmail.com>
Date: Thu, 12 Nov 2015 12:00:27 +0100
Subject: [PATCH] tests: add buildtest for nhdp

---
 tests/nhdp/Makefile | 11 +++++++++++
 tests/nhdp/main.c   | 23 +++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 tests/nhdp/Makefile
 create mode 100644 tests/nhdp/main.c

diff --git a/tests/nhdp/Makefile b/tests/nhdp/Makefile
new file mode 100644
index 0000000000..d73b092d53
--- /dev/null
+++ b/tests/nhdp/Makefile
@@ -0,0 +1,11 @@
+APPLICATION = nhdp
+include ../Makefile.tests_common
+
+BOARD_BLACKLIST := arduino-mega2560 msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
+BOARD_INSUFFICIENT_MEMORY := nucleo-f334 stm32f0discovery weio
+
+USEMODULE += gnrc_ipv6
+USEMODULE += gnrc_conn_udp
+USEMODULE += nhdp
+
+include $(RIOTBASE)/Makefile.include
diff --git a/tests/nhdp/main.c b/tests/nhdp/main.c
new file mode 100644
index 0000000000..0ad1fcab3b
--- /dev/null
+++ b/tests/nhdp/main.c
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2015 Cenk Gündoğan <cnkgndgn@gmail.com>
+ *
+ * This file is subject to the terms and conditions of the GNU Lesser
+ * General Public License v2.1. See the file LICENSE in the top level
+ * directory for more details.
+ */
+
+/**
+ * @file
+ * @brief       Check if the nhdp module builds.
+ *
+ * @author      Cenk Gündoğan <cnkgndgn@gmail.com>
+ *
+ */
+
+#include <stdio.h>
+
+int main(void)
+{
+    printf("NHDP compiled!");
+    return 0;
+}
-- 
GitLab