Flutter Engine
The Flutter Engine
Functions
tools.test_all Namespace Reference

Functions

def main ()
 

Detailed Description

Copyright 2014 Google Inc.

Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.

Run all unittests within this directory tree, recursing into subdirectories.

Function Documentation

◆ main()

def tools.test_all.main ( )

Definition at line 19 of file test_all.py.

19def main():
20 suite = unittest.TestLoader().discover(os.path.dirname(__file__),
21 pattern='*_test.py')
22 results = unittest.TextTestRunner(verbosity=2).run(suite)
23 print(repr(results))
24 if not results.wasSuccessful():
25 raise Exception('failed one or more unittests')
26
27
def print(*args, **kwargs)
Definition: run_tests.py:49
Definition: run.py:1
def main()
Definition: test_all.py:19