1#!/usr/bin/env python 2# Copyright (c) 2014 The Chromium Authors. All rights reserved. 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6import sys 7import unittest 8 9from chromium_deps_unittest import ChromiumDEPSTest 10from common.http_client_local_unittest import HttpClientLocalTest 11 12 13if __name__ == '__main__': 14 all_tests_suite = unittest.defaultTestLoader.loadTestsFromModule( 15 sys.modules[__name__]) 16 tests = unittest.TestSuite(all_tests_suite) 17 result = unittest.TextTestRunner(stream=sys.stdout, verbosity=2).run(tests) 18 sys.exit(len(result.failures) + len(result.errors)) 19