[tests] make pretty and update makefile (#3835)

* change the include order (make pretty)
* include header files in PRETTY_FILES
This commit is contained in:
Abtin Keshavarzian
2019-05-20 08:52:49 -07:00
committed by Jonathan Hui
parent fa395d7205
commit 7b0537fb54
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -134,7 +134,7 @@ check_PROGRAMS += \
test-ncp-buffer \
test-spinel-decoder \
test-spinel-encoder \
$(NULL)
$(NULL)
if OPENTHREAD_ENABLE_NCP_UART
check_PROGRAMS += \
@@ -243,6 +243,7 @@ test_toolchain_LDADD = $(NULL)
test_toolchain_SOURCES = test_toolchain.cpp test_toolchain_c.c
PRETTY_FILES = \
$(noinst_HEADERS) \
$(test_address_sanitizer_SOURCES) \
$(test_aes_SOURCES) \
$(test_child_SOURCES) \
+1 -1
View File
@@ -39,10 +39,10 @@
#include <openthread/config.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/entropy.h>
#include <openthread/platform/logging.h>
#include <openthread/platform/misc.h>
#include <openthread/platform/radio.h>
#include <openthread/platform/entropy.h>
#include "common/code_utils.hpp"
#include "common/instance.hpp"