mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Merge branch 'bugfix/rtc_xtal_tests' into 'master'
ci: Only run XTAL unit tests assuming board has an XTAL See merge request idf/esp-idf!2401
This commit is contained in:
@@ -134,7 +134,7 @@ TEST_CASE("Test fast switching between PLL and XTAL", "[rtc_clk]")
|
|||||||
test_clock_switching(rtc_clk_cpu_freq_set_fast);
|
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)
|
#define TIMEOUT_TEST_MS (5 + CONFIG_ESP32_RTC_CLK_CAL_CYCLES / 16)
|
||||||
|
|
||||||
void stop_rtc_external_quartz(){
|
void stop_rtc_external_quartz(){
|
||||||
@@ -266,7 +266,7 @@ TEST_CASE("Test starting 'External 32kHz XTAL' on the board with it.", "[rtc_clk
|
|||||||
|
|
||||||
#else
|
#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. "
|
printf("Tries to start the 'External 32kHz XTAL' on the board without it. "
|
||||||
"Clock switching to 'Internal 150 kHz RC oscillator'.\n");
|
"Clock switching to 'Internal 150 kHz RC oscillator'.\n");
|
||||||
|
Reference in New Issue
Block a user