Skip to content

Commit f940cca

Browse files
committed
lib/utc.robot: Remove invalid USB Type-C Display Output impl
Signed-off-by: Filip Gołaś <[email protected]>
1 parent 6306101 commit f940cca

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

lib/utc.robot

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Prepare UTC Test Suite
2626

2727
Ensure ME State
2828
[Arguments] ${me_state}
29+
IF '${me_state}' == 'None' RETURN
2930
IF '${me_state}' != '${UTC_CURRENT_ME_STATE}'
3031
IF '${me_state}' == 'Enabled'
3132
Set UEFI Option MeMode Enabled
@@ -66,20 +67,25 @@ Usb Type-C Pd Power Input
6667
Fail Not implemented on ENV_ID ${env_id}
6768
END
6869

69-
Usb Type-C Display Output
70-
[Arguments] ${env_id} ${me_state} ${dock_name}
71-
Ensure ME State ${me_state}
72-
Power On
73-
IF '${env_id}'.startswith('2') # Linux
74-
Boot System Or From Connected Disk ${env_id}
75-
Login To Linux
76-
Switch To Root User
77-
${out}= List Devices In Linux usb
78-
Should Contain ${out} ${CLEVO_USB_C_HUB}
79-
Exit From Root User
80-
ELSE
81-
Fail Not implemented on ENV_ID ${env_id}
82-
END
70+
# Invalid implementation. Should check if a USB-C display is
71+
# connected, not if a docking stations is connected.
72+
# The display should be connected directly to the device,
73+
# not through a docking station.
74+
#
75+
# Usb Type-C Display Output
76+
# [Arguments] ${env_id} ${me_state} ${dock_name}
77+
# Ensure ME State ${me_state}
78+
# Power On
79+
# IF '${env_id}'.startswith('2') # Linux
80+
# Boot System Or From Connected Disk ${env_id}
81+
# Login To Linux
82+
# Switch To Root User
83+
# ${out}= List Devices In Linux usb
84+
# Should Contain ${out} ${CLEVO_USB_C_HUB}
85+
# Exit From Root User
86+
# ELSE
87+
# Fail Not implemented on ENV_ID ${env_id}
88+
# END
8389

8490
Usb Type-C Docking Station Hdmi Display
8591
[Arguments] ${env_id} ${me_state} ${dock_name}

0 commit comments

Comments
 (0)