Cancel on-going scan when change directory is requested.
[chromium-blink-merge.git] / tools / findit / run_all_tests.py
blob230537a6176f670f169801d21d7de242f1137d93
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.
6 import sys
7 import unittest
9 from chromium_deps_unittest import ChromiumDEPSTest
10 from common.http_client_local_unittest import HttpClientLocalTest
13 if __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))