ci: resume esp32s2 unit tests

This commit is contained in:
michael
2020-01-22 12:05:33 +08:00
parent d4ec1842f0
commit 24b16b0b19
3 changed files with 17 additions and 6 deletions

View File

@@ -19,6 +19,7 @@
#include "param_test.h" #include "param_test.h"
#include "esp_log.h" #include "esp_log.h"
#include "driver/spi_common.h" #include "driver/spi_common.h"
#include "soc/soc_caps.h"
#if defined(SOC_SDMMC_HOST_SUPPORTED) && defined(SOC_SDIO_SLAVE_SUPPORTED) #if defined(SOC_SDMMC_HOST_SUPPORTED) && defined(SOC_SDIO_SLAVE_SUPPORTED)
#include "driver/sdio_slave.h" #include "driver/sdio_slave.h"

View File

@@ -493,9 +493,23 @@ UT_034:
- ESP32_IDF - ESP32_IDF
- UT_T1_ESP_FLASH - UT_T1_ESP_FLASH
UT_035: .unit_test_s2_template:
extends: .unit_test_template extends: .unit_test_template
parallel: 24 only:
refs:
# Due to lack of runners, the tests are only done by manual trigger
# - master
# - /^release\/v/
# - /^v\d+\.\d+(\.\d+)?($|-)/
- triggers
# - schedules
variables:
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_UNIT_TEST_S2
UT_035:
extends: .unit_test_s2_template
parallel: 26
tags: tags:
- ESP32S2_IDF - ESP32S2_IDF
- UT_T1_1 - UT_T1_1

View File

@@ -81,10 +81,6 @@ class Parser(object):
else: else:
target = "esp32" target = "esp32"
if target == "esp32s2":
# Unit tests temporarily disabled for beta chip
return []
test_groups = self.get_test_groups(os.path.join(configs_folder, config_name)) test_groups = self.get_test_groups(os.path.join(configs_folder, config_name))
elf_file = os.path.join(config_output_folder, self.ELF_FILE) elf_file = os.path.join(config_output_folder, self.ELF_FILE)