Move unit-test to the services directory.
This commit is contained in:
parent
dfd2caf17a
commit
a7da684b4b
@ -1,7 +1,6 @@
|
|||||||
CONTIKI = ../../..
|
CONTIKI = ../../..
|
||||||
|
|
||||||
MODULES += os/storage/antelope
|
MODULES += os/storage/antelope os/services/unit-test
|
||||||
APPS += unit-test
|
|
||||||
|
|
||||||
all: shell-db
|
all: shell-db
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
||||||
CONTIKI = ../..
|
CONTIKI = ../..
|
||||||
|
|
||||||
|
MODULES += os/services/unit-test
|
||||||
|
|
||||||
all: test-cfs test-coffee example-coffee
|
all: test-cfs test-coffee example-coffee
|
||||||
|
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
all: test-ringbufindex
|
all: test-ringbufindex
|
||||||
|
|
||||||
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
||||||
APPS += unit-test
|
MODULES += os/services/unit-test
|
||||||
|
|
||||||
CONTIKI = ../../..
|
CONTIKI = ../../..
|
||||||
CONTIKI_WITH_IPV6 = 1
|
CONTIKI_WITH_IPV6 = 1
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
#include "unit-test.h"
|
#include "unit-test/unit-test.h"
|
||||||
|
|
||||||
#include "lib/ringbufindex.h"
|
#include "lib/ringbufindex.h"
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
all:
|
all:
|
||||||
|
|
||||||
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
||||||
APPS += unit-test
|
MODULES += os/net/mac/tsch os/net/mac/tsch/sixtop os/services/unit-test
|
||||||
MODULES += os/net/mac/tsch os/net/mac/tsch/sixtop
|
|
||||||
|
|
||||||
PROJECT_SOURCEFILES += common.c
|
PROJECT_SOURCEFILES += common.c
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "unit-test.h"
|
#include "unit-test/unit-test.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#include "lib/simEnvChange.h"
|
#include "lib/simEnvChange.h"
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include "net/mac/tsch/tsch.h"
|
#include "net/mac/tsch/tsch.h"
|
||||||
#include "net/mac/tsch/tsch-queue.h"
|
#include "net/mac/tsch/tsch-queue.h"
|
||||||
|
|
||||||
#include "unit-test.h"
|
#include "unit-test/unit-test.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
PROCESS(test_process, "tsch_queue_flush_nbr_queue() test");
|
PROCESS(test_process, "tsch_queue_flush_nbr_queue() test");
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
all: test-panid-handling test-tcsh-create-packet
|
all: test-panid-handling test-tcsh-create-packet
|
||||||
|
|
||||||
APPS += unit-test
|
MODULES += os/net/mac/tsch os/services/unit-test
|
||||||
MODULES += os/net/mac/tsch
|
|
||||||
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
||||||
|
|
||||||
WITH_TSCH ?= 0
|
WITH_TSCH ?= 0
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
#include "unit-test.h"
|
#include "unit-test/unit-test.h"
|
||||||
#include "net/mac/framer/frame802154.h"
|
#include "net/mac/framer/frame802154.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
#include "unit-test.h"
|
#include "unit-test/unit-test.h"
|
||||||
#include "net/linkaddr.h"
|
#include "net/linkaddr.h"
|
||||||
#include "net/mac/tsch/tsch.h"
|
#include "net/mac/tsch/tsch.h"
|
||||||
#include "net/mac/tsch/tsch-asn.h"
|
#include "net/mac/tsch/tsch-asn.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user