blob: d8e84419414c68919194e1df3d114e1706279966 [file]
#!/usr/bin/env python
# Copyright (c) 2014 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.
""" Run the cc_unittests executable. """
from build_step import BuildStep
import sys
class CCUnitTests(BuildStep):
def _Run(self):
# SchedulerTest is flaky, so disabling it for now. For details, see:
# https://code.google.com/p/chromium/issues/detail?id=380889
args = ['--gtest_filter=-SchedulerTest.*']
self._flavor_utils.RunFlavoredCmd('cc_unittests', args)
if '__main__' == __name__:
sys.exit(BuildStep.RunBuildStep(CCUnitTests))