• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2010 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
5import logging, utils
6from autotest_lib.client.bin import test
7from autotest_lib.client.common_lib import error
8
9class platform_KernelVersion(test.test):
10    version = 1
11
12    def run_once(self, kernel_version='3.8'):
13        try:
14            utils.check_kernel_ver(kernel_version)
15        except error.TestError, e:
16            logging.debug(e)
17            raise error.TestFail(e)
18