Add long running gmail memory benchmark for background tab.
[chromium-blink-merge.git] / tools / telemetry / catapult_base / support_binaries_unittest.py
blob258fe258f2b4411354cb83f8bbb7e13efcbdfff3
1 # Copyright 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.
5 import os
6 import stat
7 import unittest
9 from catapult_base import support_binaries
10 from telemetry import decorators
13 class SupportBinariesTest(unittest.TestCase):
14 @decorators.Enabled('linux')
15 def testFindPath(self):
16 md5sum_path = support_binaries.FindPath(
17 'md5sum_bin_host', 'x86_64', 'linux')
18 self.assertNotEquals(md5sum_path, None)
19 self.assertTrue(os.path.isabs(md5sum_path))
20 st = os.stat(md5sum_path)
21 self.assertTrue(st.st_mode & stat.S_IXUSR)