]> granicus.if.org Git - esp-idf/commitdiff
ci: Only run XTAL unit tests assuming board has an XTAL, run less repeats
authorAngus Gratton <angus@espressif.com>
Tue, 15 May 2018 06:37:04 +0000 (14:37 +0800)
committerAngus Gratton <gus@projectgus.com>
Tue, 15 May 2018 07:43:24 +0000 (15:43 +0800)
components/soc/esp32/test/test_rtc_clk.c

index 9efad4a1e4b01a7f67e3e86be31b252e58e53dff..39c3ac7fd0748938211ad1c865f2c74ba43019dc 100644 (file)
@@ -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");