kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/sdcard_example_test' into 'master'
examples: sd_card: fix example test not getting the expected name Closes IDFCI-1249 See merge request espressif/esp-idf!18070pull/8968/head
commit
847f3813a0
|
@ -16,7 +16,7 @@ def test_examples_sd_card_sdmmc(env, extra_data): # type: (ttfw_idf.Env.Env, No
|
|||
dut.expect('Filesystem mounted', timeout=60)
|
||||
|
||||
# These lines are matched separately because of ASCII color codes in the output
|
||||
name = dut.expect(re.compile(r'Name: (\w+)'), timeout=10)[0]
|
||||
name = dut.expect(re.compile(r'Name: (\w+)\r'), timeout=10)[0]
|
||||
_type = dut.expect(re.compile(r'Type: (\S+)'), timeout=10)[0]
|
||||
speed = dut.expect(re.compile(r'Speed: (\S+)'), timeout=10)[0]
|
||||
size = dut.expect(re.compile(r'Size: (\S+)'), timeout=10)[0]
|
||||
|
|
|
@ -16,7 +16,7 @@ def test_examples_sd_card_sdspi(env, extra_data): # type: (ttfw_idf.Env.Env, No
|
|||
dut.expect('Filesystem mounted', timeout=60)
|
||||
|
||||
# These lines are matched separately because of ASCII color codes in the output
|
||||
name = dut.expect(re.compile(r'Name: (\w+)'), timeout=20)[0]
|
||||
name = dut.expect(re.compile(r'Name: (\w+)\r'), timeout=20)[0]
|
||||
_type = dut.expect(re.compile(r'Type: (\S+)'), timeout=20)[0]
|
||||
speed = dut.expect(re.compile(r'Speed: (\S+)'), timeout=20)[0]
|
||||
size = dut.expect(re.compile(r'Size: (\S+)'), timeout=20)[0]
|
||||
|
|
Ładowanie…
Reference in New Issue