Convert run_tests to python, allow running on Mac/Windows and allow filters for tests. (#9818)
Sample usage: To run only the embedder_unittests in the engine with the profile variant, the command would be ``` ./flutter/testing/run_tests.py --variant host_profile_unopt --type engine --filter embedder_unittests `` To run only the geometry in Dart with the debug variant, the command would be ``` ./flutter/testing/run_tests.py --variant host_debug_unopt --type dart --filter geometry_test `` Without any argument, the behavior is identical to `run_tests.sh`. In a subsequent patch, I will enable running unit-tests on Windows in the tryjobs. The lack of compatibility of the shell script on Windows made it so that we never ran any Windows unit-tests in the tryjobs.
Showing
testing/run_tests.py
0 → 100755
想要评论请 注册 或 登录