• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2011 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
5AUTHOR = "Chrome OS Team"
6NAME = "BootMessagesServer"
7TIME = "SHORT"
8TEST_CATEGORY = "Functional"
9TEST_CLASS = "kernel"
10TEST_TYPE = "server"
11
12DOC = """
13This test reboots the client and checks dmesg for warnings.
14"""
15
16def run_bootmessages(machine):
17    host = hosts.create_host(machine)
18    job.run_test("kernel_BootMessagesServer", host=host,
19        constraints=['coldboot_memfree_mb > 0',
20                     'coldboot_anonpages_mb > 0',
21                     'coldboot_buffers_mb >= 0',
22                     'coldboot_cached_mb > 0',
23                     'coldboot_active_mb > 0',
24                     'coldboot_inactive_mb > 0'
25                     ])
26
27parallel_simple(run_bootmessages, machines)
28