1# Copyright 2018 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 5from autotest_lib.server import utils 6 7PY_VERSION = 3 8AUTHOR = "chromeos-chameleon" 9NAME = "graphics_MultipleDisplays.aquarium_blob" 10PURPOSE = "Test multiple WebGL windows on internal and external displays." 11CRITERIA = "All tests must not crash/hang the GPU." 12ATTRIBUTES = "" 13TIME = "MEDIUM" 14TEST_CATEGORY = "Functional" 15TEST_CLASS = "graphics" 16TEST_TYPE = "server" 17DEPENDENCIES = 'chameleon' 18 19DOC = """ 20This test runs four WebGL samples. Two on the internal display. Two on the 21extended Chameleon display. 22""" 23 24args_dict = utils.args_to_dict(args) 25chameleon_args = hosts.CrosHost.get_chameleon_arguments(args_dict) 26 27def run(machine): 28 host = hosts.create_host(machine, chameleon_args=chameleon_args) 29 job.run_test("graphics_MultipleDisplays", host=host, 30 subtest='aquarium+blob') 31 32parallel_simple(run, machines) 33