From: Angus Gratton Date: Tue, 15 May 2018 06:37:04 +0000 (+0800) Subject: ci: Only run XTAL unit tests assuming board has an XTAL, run less repeats X-Git-Tag: v3.1-beta1~143^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05e09a5bacb231f3699815801feff035a0e26a0a;p=esp-idf ci: Only run XTAL unit tests assuming board has an XTAL, run less repeats --- diff --git a/components/soc/esp32/test/test_rtc_clk.c b/components/soc/esp32/test/test_rtc_clk.c index 9efad4a1e4..39c3ac7fd0 100644 --- a/components/soc/esp32/test/test_rtc_clk.c +++ b/components/soc/esp32/test/test_rtc_clk.c @@ -134,7 +134,7 @@ TEST_CASE("Test fast switching between PLL and XTAL", "[rtc_clk]") test_clock_switching(rtc_clk_cpu_freq_set_fast); } -#define COUNT_TEST 10 +#define COUNT_TEST 3 #define TIMEOUT_TEST_MS (5 + CONFIG_ESP32_RTC_CLK_CAL_CYCLES / 16) void stop_rtc_external_quartz(){ @@ -266,7 +266,7 @@ TEST_CASE("Test starting 'External 32kHz XTAL' on the board with it.", "[rtc_clk #else -TEST_CASE("Test starting 'External 32kHz XTAL' on the board without it.", "[rtc_clk]") +TEST_CASE("Test starting 'External 32kHz XTAL' on the board without it.", "[rtc_clk][ignore]") { printf("Tries to start the 'External 32kHz XTAL' on the board without it. " "Clock switching to 'Internal 150 kHz RC oscillator'.\n");