Просмотр исходного кода

ci: forbid esp32s2beta tests from being built in make

michael 6 лет назад
Родитель
Сommit
213f8cf7ef

+ 2 - 14
components/esp32s2beta/test/component.mk

@@ -1,16 +1,4 @@
 #
-#Component Makefile
+# Component Makefile
 #
-
-COMPONENT_EXTRA_CLEAN := test_tjpgd_logo.h
-
-COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive \
-                         -u ld_include_test_dport_xt_highint5 \
-
-COMPONENT_SRCDIRS := .
-
-test_tjpgd.o: test_tjpgd_logo.h
-
-test_tjpgd_logo.h: $(COMPONENT_PATH)/logo.jpg
-	$(summary) XXD logo.jpg
-	cd $(COMPONENT_PATH); xxd -i logo.jpg $(COMPONENT_BUILD_DIR)/test_tjpgd_logo.h
+COMPONENT_CONFIG_ONLY := 1

+ 1 - 1
tools/unit-test-app/configs/default_2

@@ -1 +1 @@
-TEST_EXCLUDE_COMPONENTS=libsodium bt app_update freertos esp32 esp32s2beta driver heap pthread soc spi_flash vfs
+TEST_EXCLUDE_COMPONENTS=libsodium bt app_update freertos esp32 driver heap pthread soc spi_flash vfs

+ 2 - 2
tools/unit-test-app/configs/default_2_s2

@@ -1,2 +1,2 @@
-TEST_EXCLUDE_COMPONENTS=libsodium bt app_update freertos esp32 esp32s2beta driver heap pthread soc spi_flash vfs
-CONFIG_IDF_TARGET="esp32s2beta"
+TEST_EXCLUDE_COMPONENTS=libsodium bt app_update freertos esp32s2beta driver heap pthread soc spi_flash vfs
+CONFIG_IDF_TARGET="esp32s2beta"