Merge branch 'feature/unit_test_config_components' into 'master'
unit-test-app: allow building subset of tests for a configuration See merge request idf/esp-idf!2331
This commit is contained in:
@@ -32,7 +32,8 @@ BOOTLOADER_MAKE= +\
|
||||
V=$(V) \
|
||||
BUILD_DIR_BASE=$(BOOTLOADER_BUILD_DIR) \
|
||||
TEST_COMPONENTS= \
|
||||
TESTS_ALL=
|
||||
TESTS_ALL= \
|
||||
EXCLUDE_COMPONENTS=
|
||||
|
||||
.PHONY: bootloader-clean bootloader-flash bootloader-list-components bootloader $(BOOTLOADER_BIN)
|
||||
|
||||
|
||||
@@ -5,7 +5,9 @@
|
||||
LS_TESTDIR := ../libsodium/test/default
|
||||
LS_TEST_OBJDIR := libsodium/test/default
|
||||
|
||||
ifdef TESTS_ALL
|
||||
TESTS_ALL ?= 0
|
||||
|
||||
ifeq ($(TESTS_ALL),1)
|
||||
$(info not linking libsodium tests, use 'TEST_COMPONENTS=libsodium' to test it)
|
||||
else
|
||||
COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive
|
||||
|
||||
Reference in New Issue
Block a user