Skip to content

Commit

Permalink
Fixing unit tests based on new coap library
Browse files Browse the repository at this point in the history
  • Loading branch information
Yogesh Pande authored and Yogesh Pande committed Feb 8, 2017
1 parent d1a3d25 commit d323c3a
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 11 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ override CFLAGS += -I$(SERVLIB_DIR)/libService/
NANOSTACK_DIR := ../nanostack
override CFLAGS += -I$(NANOSTACK_DIR)/nanostack/

NSDLC_DIR := ../nsdl-c
override CFLAGS += -I$(NSDLC_DIR)/nsdl-c

COAP_DIR := ../libcoap
override CFLAGS += -I$(COAP_DIR)/libcoap

Expand Down
1 change: 0 additions & 1 deletion source/coap_service_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "ns_list.h"
#include "ns_trace.h"
#include "nsdynmemLIB.h"
#include "sn_nsdl.h"
#include "sn_coap_header.h"
#include "coap_service_api.h"
#include "coap_message_handler.h"
Expand Down
8 changes: 4 additions & 4 deletions test/coap-service/unittest/makefile_defines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ INCLUDE_DIRS =\
../../../../yotta_modules/nanostack-randlib/mbed-client-randlib/ \
../../../../yotta_modules/nanostack-libservice/ \
../../../../yotta_modules/nanostack-libservice/mbed-client-libservice/ \
../../../../yotta_modules/mbed-client-c/nsdl-c/ \
../../../../yotta_modules/mbed-client-c/source/libCoap/src/include/ \
../../../../yotta_modules/libcoap/libcoap/ \
../../../../yotta_modules/libcoap/source/include/ \
../../../../yotta_modules/sal-stack-nanostack-eventloop/nanostack-event-loop/ \
../../../../yotta_modules/sal-stack-nanostack-eventloop/source/ \
../../../../yotta_modules/mbed-trace/ \
../../../../../nanostack/nanostack/\
../../../../../libService/libService/\
../../../../../nsdl-c/nsdl-c/\
../../../../../nsdl-c/source/libCoap/src/include/\
../../../../../libcoap/libcoap/\
../../../../../libcoap/source/include/\
../../../../../event-loop/nanostack-event-loop/\
../../../../../event-loop/source/ \
../../../../../mbedtls/include/ \
Expand Down
1 change: 0 additions & 1 deletion test/coap-service/unittest/stub/coap_service_api_stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "ns_list.h"
#include "ns_trace.h"
#include "nsdynmemLIB.h"
#include "sn_nsdl.h"
#include "sn_coap_header.h"
#include "coap_service_api.h"
#include "coap_message_handler.h"
Expand Down
1 change: 0 additions & 1 deletion test/coap-service/unittest/stub/sn_coap_parser_stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/

#include "ns_types.h"
#include "sn_nsdl.h"
#include "sn_coap_protocol.h"
#include "sn_coap_parser_stub.h"

Expand Down
1 change: 0 additions & 1 deletion test/coap-service/unittest/stub/sn_coap_protocol_stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#endif

#include "ns_types.h"
#include "sn_nsdl.h"
#include "sn_coap_protocol.h"
#include "sn_coap_header_internal.h"
#include "sn_coap_protocol_internal.h"
Expand Down

0 comments on commit d323c3a

Please sign in to comment.