1 # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 NAME = 'hardware_SsdDetection' 6 AUTHOR = 'The Chromium OS Authors' 7 PURPOSE = 'Determine if main disk is a solid state device.' 8 CRITERIA = 'Fails if the main disk is not a solid state device.' 9 ATTRIBUTES = "suite:hwqual" 10 TIME='SHORT' 11 TEST_CATEGORY = 'Functional' 12 TEST_CLASS = "hardware" 13 TEST_TYPE = 'client' 14 15 DOC = """ 16 This test uses hdparm to determine if the rotation rate properties match that of 17 a solid state device. 18 """ 19 20 job.run_test('hardware_SsdDetection', 21 constraints=['mb_ssd_device_size >= 8000']) 22