mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
pkg/oonf_api: add compile test
This commit is contained in:
parent
93f405d53a
commit
06d6f544b6
12
tests/pkg_oonf_api/Makefile
Normal file
12
tests/pkg_oonf_api/Makefile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
APPLICATION = test_pkg_oonf_api
|
||||||
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_WHITELIST := native
|
||||||
|
|
||||||
|
USEMODULE += gnrc_ipv6
|
||||||
|
USEMODULE += gnrc_conn_udp
|
||||||
|
USEMODULE += oonf_common
|
||||||
|
USEMODULE += oonf_rfc5444
|
||||||
|
USEPKG += oonf_api
|
||||||
|
|
||||||
|
include $(RIOTBASE)/Makefile.include
|
23
tests/pkg_oonf_api/main.c
Normal file
23
tests/pkg_oonf_api/main.c
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2016 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* @brief Check if the oonf_api package builds.
|
||||||
|
*
|
||||||
|
* @author smlng <s@mlng.net>
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
printf("oonf_api package compiled!");
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user