1 # Copyright (c) 2014 The Chromium 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 import os 6 7 from autotest_lib.client.cros import chrome_binary_test 8 9 BINARY = 'media_unittests' 10 11 class video_MediaUnittests(chrome_binary_test.ChromeBinaryTest): 12 """ 13 This test is a wrapper of the chrome unittest binary: media_unittests. 14 """ 15 16 version = 1 17 18 19 def run_once(self): 20 """ 21 Runs media_unittests. 22 """ 23 cmd_line = '--brave-new-test-launcher --test-launcher-bot-mode' 24 output = os.path.join(self.resultsdir, 'test-launcher-summary') 25 cmd_line = '%s --test-launcher-summary-output=%s' % (cmd_line, output) 26 self.run_chrome_test_binary(BINARY, cmd_line) 27