diff --git a/tests/gnrc_rpl_p2p/Makefile b/tests/gnrc_rpl_p2p/Makefile new file mode 100644 index 0000000000..6e3db2980a --- /dev/null +++ b/tests/gnrc_rpl_p2p/Makefile @@ -0,0 +1,7 @@ +include ../Makefile.tests_common + +USEMODULE += gnrc_ipv6_router_default +USEMODULE += auto_init_gnrc_rpl +USEMODULE += gnrc_rpl_p2p + +include $(RIOTBASE)/Makefile.include diff --git a/tests/gnrc_rpl_p2p/Makefile.ci b/tests/gnrc_rpl_p2p/Makefile.ci new file mode 100644 index 0000000000..6e67c40e46 --- /dev/null +++ b/tests/gnrc_rpl_p2p/Makefile.ci @@ -0,0 +1,31 @@ +BOARD_INSUFFICIENT_MEMORY := \ + arduino-duemilanove \ + arduino-leonardo \ + arduino-mega2560 \ + arduino-nano \ + arduino-uno \ + atmega328p \ + chronos \ + i-nucleo-lrwan1 \ + msb-430 \ + msb-430h \ + nucleo-f030r8 \ + nucleo-f031k6 \ + nucleo-f042k6 \ + nucleo-f070rb \ + nucleo-f072rb \ + nucleo-f103rb \ + nucleo-f302r8 \ + nucleo-f303k8 \ + nucleo-f334r8 \ + nucleo-l031k6 \ + nucleo-l053r8 \ + stm32f030f4-demo \ + stm32f0discovery \ + stm32l0538-disco \ + telosb \ + waspmote-pro \ + wsn430-v1_3b \ + wsn430-v1_4 \ + z1 \ + # diff --git a/tests/gnrc_rpl_p2p/main.c b/tests/gnrc_rpl_p2p/main.c new file mode 100644 index 0000000000..2e31545d44 --- /dev/null +++ b/tests/gnrc_rpl_p2p/main.c @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2020 HAW + * + * 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. + */ + +/** + * @ingroup tests + * @{ + * + * @file + * @brief Compile test for gnrc_rpl_p2p + * + * @author Cenk Gündoğan + * + * @} + */ + +#include + +int main(void) +{ + puts("[SUCCESS]"); + + return 0; +} diff --git a/tests/gnrc_rpl_p2p/tests/01-run.py b/tests/gnrc_rpl_p2p/tests/01-run.py new file mode 100755 index 0000000000..b2a6d492a3 --- /dev/null +++ b/tests/gnrc_rpl_p2p/tests/01-run.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2020 HAW Hamburg +# +# 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. + +import sys +from testrunner import run + + +def testfunc(child): + child.expect_exact(u"[SUCCESS]") + + +if __name__ == "__main__": + sys.exit(run(testfunc))