mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 13:14:32 +02:00
ci(pytest): stop adding xtal_40mhz when running test case for other targets
This commit is contained in:
@@ -411,7 +411,12 @@ class IdfPytestEmbedded:
|
|||||||
|
|
||||||
# add 'xtal_40mhz' tag as a default tag for esp32c2 target
|
# add 'xtal_40mhz' tag as a default tag for esp32c2 target
|
||||||
for item in items:
|
for item in items:
|
||||||
if 'esp32c2' in item_marker_names(item) and 'xtal_26mhz' not in item_marker_names(item):
|
# only add this marker for esp32c2 cases
|
||||||
|
if (
|
||||||
|
self.target == 'esp32c2'
|
||||||
|
and 'esp32c2' in item_marker_names(item)
|
||||||
|
and 'xtal_26mhz' not in item_marker_names(item)
|
||||||
|
):
|
||||||
item.add_marker('xtal_40mhz')
|
item.add_marker('xtal_40mhz')
|
||||||
|
|
||||||
# filter all the test cases with "nightly_run" marker
|
# filter all the test cases with "nightly_run" marker
|
||||||
|
Reference in New Issue
Block a user