Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3215)

Unified Diff: chrome/test/chromeos/autotest/files/client/site_tests/desktopui_OMXTest/desktopui_OMXTest.py

Issue 9150023: Add a cros autotest runner for omx_video_decode_accelerator_unittest (on ARM). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromeos/autotest/files/client/site_tests/desktopui_OMXTest/desktopui_OMXTest.py
diff --git a/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_OMXTest/desktopui_OMXTest.py b/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_OMXTest/desktopui_OMXTest.py
new file mode 100644
index 0000000000000000000000000000000000000000..25e4c103d3b8210fc24ad6b420b0049eaffbb93b
--- /dev/null
+++ b/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_OMXTest/desktopui_OMXTest.py
@@ -0,0 +1,19 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import os
+from autotest_lib.client.cros import chrome_test
+
+class desktopui_OMXTest(chrome_test.ChromeTestBase):
+ version = 1
+
+ def run_once(self):
+ test_video_file = os.path.join(self.cr_source_dir, 'content', 'common',
+ 'gpu', 'testdata', 'test-25fps.h264')
+ # The FPS expectations here are lower than observed in most runs to keep
+ # the bots green.
+ cmd_line_params = ('--test_video_data="%s:320:240:250:258:35:150:1"' %
+ test_video_file)
+ self.run_chrome_test('omx_video_decode_accelerator_unittest',
+ cmd_line_params)

Powered by Google App Engine
This is Rietveld 408576698