Move unit-test to the services directory.

This commit is contained in:
Nicolas Tsiftes 2017-09-01 15:57:28 +02:00
parent dfd2caf17a
commit a7da684b4b
13 changed files with 11 additions and 12 deletions

View File

@ -1,7 +1,6 @@
CONTIKI = ../../..
MODULES += os/storage/antelope
APPS += unit-test
MODULES += os/storage/antelope os/services/unit-test
all: shell-db

View File

@ -1,6 +1,8 @@
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
CONTIKI = ../..
MODULES += os/services/unit-test
all: test-cfs test-coffee example-coffee
include $(CONTIKI)/Makefile.include

View File

@ -1,7 +1,7 @@
all: test-ringbufindex
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
APPS += unit-test
MODULES += os/services/unit-test
CONTIKI = ../../..
CONTIKI_WITH_IPV6 = 1

View File

@ -32,7 +32,7 @@
#include <stdio.h>
#include "contiki.h"
#include "unit-test.h"
#include "unit-test/unit-test.h"
#include "lib/ringbufindex.h"

View File

@ -1,8 +1,7 @@
all:
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
APPS += unit-test
MODULES += os/net/mac/tsch os/net/mac/tsch/sixtop
MODULES += os/net/mac/tsch os/net/mac/tsch/sixtop os/services/unit-test
PROJECT_SOURCEFILES += common.c

View File

@ -32,7 +32,7 @@
#include <stdio.h>
#include <string.h>
#include "unit-test.h"
#include "unit-test/unit-test.h"
#include "common.h"
#include "lib/simEnvChange.h"

View File

@ -40,7 +40,7 @@
#include "net/mac/tsch/tsch.h"
#include "net/mac/tsch/tsch-queue.h"
#include "unit-test.h"
#include "unit-test/unit-test.h"
#include "common.h"
PROCESS(test_process, "tsch_queue_flush_nbr_queue() test");

View File

@ -1,7 +1,6 @@
all: test-panid-handling test-tcsh-create-packet
APPS += unit-test
MODULES += os/net/mac/tsch
MODULES += os/net/mac/tsch os/services/unit-test
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
WITH_TSCH ?= 0

View File

@ -30,7 +30,7 @@
*/
#include "contiki.h"
#include "unit-test.h"
#include "unit-test/unit-test.h"
#include "net/mac/framer/frame802154.h"
#include <stdio.h>

View File

@ -30,7 +30,7 @@
*/
#include "contiki.h"
#include "unit-test.h"
#include "unit-test/unit-test.h"
#include "net/linkaddr.h"
#include "net/mac/tsch/tsch.h"
#include "net/mac/tsch/tsch-asn.h"