Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
tools.test_all Namespace Reference

Functions

 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()

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
void print(void *str)
Definition bridge.cpp:126
Definition main.py:1
Definition run.py:1