kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'test/fix_some_error_wifi_cases' into 'master'
test: fix some wifi case issues See merge request idf/esp-idf!5226pull/7874/head
commit
53fd406f53
|
@ -12,19 +12,6 @@ ESP32.WIFI_SCAN_0303
|
||||||
ESP32.WIFI_SCAN_0303_01
|
ESP32.WIFI_SCAN_0303_01
|
||||||
ESP32.WIFI_CONN_0302
|
ESP32.WIFI_CONN_0302
|
||||||
ESP32.WIFI_CONN_0302_01
|
ESP32.WIFI_CONN_0302_01
|
||||||
ESP32.WIFI_CONN_0101
|
|
||||||
ESP32.WIFI_CONN_0101_01
|
|
||||||
ESP32.WIFI_CONN_0102
|
|
||||||
ESP32.WIFI_CONN_0103
|
|
||||||
ESP32.WIFI_CONN_0103_01
|
|
||||||
ESP32.WIFI_SCAN_0101
|
|
||||||
ESP32.WIFI_SCAN_0101_01
|
|
||||||
ESP32.WIFI_SCAN_0102
|
|
||||||
ESP32.WIFI_SCAN_0102_01
|
|
||||||
ESP32.WIFI_SCAN_0103
|
|
||||||
ESP32.WIFI_SCAN_0103_01
|
|
||||||
ESP32.WIFI_SCAN_0104
|
|
||||||
ESP32.WIFI_SCAN_0104_01
|
|
||||||
ESP32.WIFI_MODE_0102
|
ESP32.WIFI_MODE_0102
|
||||||
ESP32.WIFI_MODE_0103
|
ESP32.WIFI_MODE_0103
|
||||||
ESP32.WIFI_ADDR_0102
|
ESP32.WIFI_ADDR_0102
|
||||||
|
|
|
@ -13,13 +13,13 @@ test cases:
|
||||||
- ''
|
- ''
|
||||||
- - SSC SSC1 ap -S -s <target_ssid> -t 0
|
- - SSC SSC1 ap -S -s <target_ssid> -t 0
|
||||||
- - R SSC1 C +SAP:OK
|
- - R SSC1 C +SAP:OK
|
||||||
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
|
- - SSC SSC2 sta -C -s <target_ssid>
|
||||||
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
||||||
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 2
|
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 2
|
||||||
- - R SSC1 C +SAP:OK
|
- - R SSC1 C +SAP:OK
|
||||||
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
|
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
|
||||||
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
||||||
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
|
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 3
|
||||||
- - R SSC1 C +SAP:OK
|
- - R SSC1 C +SAP:OK
|
||||||
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
|
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
|
||||||
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
||||||
|
@ -29,6 +29,8 @@ test cases:
|
||||||
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
||||||
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 1
|
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 1
|
||||||
- - R SSC1 C +SAP:OK
|
- - R SSC1 C +SAP:OK
|
||||||
|
- - SSC SSC2 sta -D
|
||||||
|
- - R SSC2 C +QAP:OK
|
||||||
- - SSC SSC2 sta -S
|
- - SSC SSC2 sta -S
|
||||||
- - R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%(<target_ssid>) C +SCANDONE
|
- - R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%(<target_ssid>) C +SCANDONE
|
||||||
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 5
|
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 5
|
||||||
|
@ -69,16 +71,18 @@ test cases:
|
||||||
- ''
|
- ''
|
||||||
- - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 1
|
- - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 1
|
||||||
- - R SSC1 C +SAP:OK
|
- - R SSC1 C +SAP:OK
|
||||||
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
|
- - SSC SSC2 sta -C -s <target_ssid>
|
||||||
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
||||||
- - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 13
|
- - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 13
|
||||||
- - R SSC1 C +SAP:OK
|
- - R SSC1 C +SAP:OK
|
||||||
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
|
- - SSC SSC2 sta -C -s <target_ssid>
|
||||||
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
||||||
- - SSC SSC1 ap -S -s <target_ssid> -n 15
|
- - SSC SSC1 ap -S -s <target_ssid> -n 15
|
||||||
- - R SSC1 C +SAP:OK
|
- - R SSC1 C +SAP:OK
|
||||||
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
|
- - SSC SSC2 sta -C -s <target_ssid>
|
||||||
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
|
||||||
|
- - SSC SSC2 sta -D
|
||||||
|
- - R SSC2 C +QAP:OK
|
||||||
- - SSC SSC2 sta -S
|
- - SSC SSC2 sta -S
|
||||||
- - R SSC2 RE "\+SCAN:%%s,.+,\d+,1"%%(<target_ssid>)
|
- - R SSC2 RE "\+SCAN:%%s,.+,\d+,1"%%(<target_ssid>)
|
||||||
execution time: 0.0
|
execution time: 0.0
|
||||||
|
@ -1040,43 +1044,6 @@ test cases:
|
||||||
test point 1: basic function
|
test point 1: basic function
|
||||||
test point 2: beacon delay
|
test point 2: beacon delay
|
||||||
version: v1 (2016-8-15)
|
version: v1 (2016-8-15)
|
||||||
- CI ready: 'Yes'
|
|
||||||
ID: WIFI_CONN_1101
|
|
||||||
SDK: ESP32_IDF
|
|
||||||
Test App: SSC
|
|
||||||
allow fail: ''
|
|
||||||
auto test: 'Yes'
|
|
||||||
category: Function
|
|
||||||
cmd set:
|
|
||||||
- ''
|
|
||||||
- - SSC SSC1 ram -Q
|
|
||||||
- - R SSC1 A <FREg>:\+FREEHEAP:(\d+)\r\n
|
|
||||||
- - SSC SSC1 op -W -a start
|
|
||||||
- - R SSC1 C +MODE:OK
|
|
||||||
- - SSC SSC1 op -W -a stop
|
|
||||||
- - R SSC1 C +MODE:OK
|
|
||||||
- - SSC SSC1 ram -Q
|
|
||||||
- - R SSC1 P <FREg>
|
|
||||||
execution time: 0
|
|
||||||
expected result: |
|
|
||||||
1. get current heap size
|
|
||||||
2.OK
|
|
||||||
3.OK
|
|
||||||
4.heap size unchanged
|
|
||||||
initial condition: WIFISTO
|
|
||||||
level: Integration
|
|
||||||
module: WIFI MAC
|
|
||||||
steps: |
|
|
||||||
1. check heap size
|
|
||||||
2. wifi start
|
|
||||||
3. wifi stop
|
|
||||||
4. check heap size
|
|
||||||
sub module: WIFI Connect
|
|
||||||
summary: wifi start and stop, heap size unchanged
|
|
||||||
test environment: SSC_T1_4
|
|
||||||
test point 1: basic function
|
|
||||||
test point 2: wifi start and stop, heap size unchanged
|
|
||||||
version: v1 (2016-12-31)
|
|
||||||
- CI ready: 'Yes'
|
- CI ready: 'Yes'
|
||||||
ID: WIFI_CONN_1201
|
ID: WIFI_CONN_1201
|
||||||
SDK: ESP32_IDF
|
SDK: ESP32_IDF
|
||||||
|
|
Ładowanie…
Reference in New Issue