- cd components/nvs_flash/test_nvs_host
- make test
+test_wl_on_host:
+ stage: test
+ image: $CI_DOCKER_REGISTRY/esp32-ci-env
+ tags:
+ - wl_host_test
+ artifacts:
+ paths:
+ - components/wear_levelling/test_wl_host/coverage_report.zip
+ script:
+ - cd components/wear_levelling/test_wl_host
+ - make test
+
test_build_system:
stage: test
image: $CI_DOCKER_REGISTRY/esp32-ci-env
../include \
../private_include \
../../esp32/include \
+ ../../soc/esp32/include \
../../log/include \
../../spi_flash/include \
../../nvs_flash/test_nvs_host \
../../../tools/catch \
)
+GCOV ?= gcov
+
CPPFLAGS += $(INCLUDE_FLAGS) -D CONFIG_LOG_DEFAULT_LEVEL
CFLAGS += -fprofile-arcs -ftest-coverage
CXXFLAGS += -std=c++11 -Wall -Werror -fprofile-arcs -ftest-coverage
-LDFLAGS += -lstdc++ -Wall -fprofile-arcs -ftest-coverage
+LDFLAGS += -lstdc++ -fprofile-arcs -ftest-coverage
OBJ_FILES = $(SOURCE_FILES:.cpp=.o)
$(OBJ_FILES): %.o: %.cpp
$(TEST_PROGRAM): $(OBJ_FILES)
- $(LD) $(LDFLAGS) -o $(TEST_PROGRAM) $(OBJ_FILES)
+ g++ $(LDFLAGS) -o $(TEST_PROGRAM) $(OBJ_FILES)
$(OUTPUT_DIR):
mkdir -p $(OUTPUT_DIR)