test: modify stacksize and priority
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
This commit is contained in:
parent
383ca3bcf9
commit
fd261d839d
@ -30,6 +30,14 @@ config CJSON_UNITY_TEST_DIR
|
||||
string "cJSON test directory"
|
||||
default "/data"
|
||||
|
||||
config CJSON_TEST_PRIORITY
|
||||
int "task priority"
|
||||
default 100
|
||||
|
||||
config CJSON_TEST_STACKSIZE
|
||||
int "stack size"
|
||||
default 102400
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
@ -31,8 +31,8 @@ CONFIG_NETUTILS_CJSON_VERSION ?= "1.7.10"
|
||||
CJSON_VERSION = $(patsubst "%",%,$(strip $(CONFIG_NETUTILS_CJSON_VERSION)))
|
||||
|
||||
CJSON_TARBALL = v$(CJSON_VERSION).tar.gz
|
||||
|
||||
CJSON_UNPACKNAME = cJSON
|
||||
|
||||
UNPACK ?= tar -zxf
|
||||
|
||||
CJSON_UNPACKDIR = $(WD)/$(CJSON_UNPACKNAME)
|
||||
@ -75,8 +75,8 @@ MAINSRC += $(UNITY_CJSONTESTCS)
|
||||
CSRCS += $(CJSON_SRCDIR)/tests/unity_setup.c
|
||||
CFLAGS += -Wno-unused-function
|
||||
|
||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
|
||||
PRIORITY = $(CONFIG_CJSON_TEST_PRIORITY)
|
||||
STACKSIZE = $(CONFIG_CJSON_TEST_STACKSIZE)
|
||||
endif
|
||||
|
||||
$(CJSON_SRCDIR)$(DELIM)cJSON.h: $(CJSON_UNPACKNAME)
|
||||
|
Loading…
x
Reference in New Issue
Block a user