Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: client/site_tests/hardware_Components/hardware_Components.py

Issue 3217005: Don't check BIOS vendor in hardware_Components test. (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/site_tests/hardware_Components/hardware_Components.py
diff --git a/client/site_tests/hardware_Components/hardware_Components.py b/client/site_tests/hardware_Components/hardware_Components.py
index 8574e0b79e62e7e2c724b233ab3781218f30d1e0..68d6bad3d395c5d78be1ce6bcb922621dabc8070 100644
--- a/client/site_tests/hardware_Components/hardware_Components.py
+++ b/client/site_tests/hardware_Components/hardware_Components.py
@@ -22,7 +22,6 @@ class hardware_Components(test.test):
'part_id_hwqual',
'part_id_storage',
'part_id_wireless',
- 'vendor_id_bios',
'vendor_id_touchpad',
'version_rw_firmware',
]
@@ -208,13 +207,6 @@ class hardware_Components(test.test):
return "%s:%s" % (vendor_id.replace('0x',''), part_id.replace('0x',''))
- def get_vendor_id_bios(self):
- cmd = ('dmidecode | grep -A 1 "BIOS Information" | grep Vendor: '
- '| sed "s/.*Vendor: //"')
- part_id = utils.system_output(cmd, ignore_status=True).strip()
- return part_id
-
-
def get_vendor_id_touchpad(self):
cmd = 'grep -i Touchpad /proc/bus/input/devices | sed s/.\*=//'
part_id = utils.system_output(cmd).strip('"')
« no previous file with comments | « client/site_tests/hardware_Components/approved_components ('k') | client/site_tests/suite_Factory/test_list » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698