Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Prev Previous commit
Next Next commit
Address review comments
  • Loading branch information
zijiehe-google-com committed Jan 30, 2024
commit 567955262106fb561ee376a59003ae3b69aa2a39
8 changes: 4 additions & 4 deletions testing/fuchsia/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def run_test(self) -> CompletedProcess:
)
test_runner._package_deps = self._package_deps
result = test_runner.run_test().returncode
logging.warning('Result of test %s is %s', test, result)
logging.info('Result of test %s is %s', test, result)
if result != 0:
returncode = result
return CompletedProcess(args='', returncode=returncode)
Expand All @@ -82,8 +82,8 @@ def bundled_test_runner_of(target_id: str) -> BundledTestRunner:
with open(os.path.join(os.path.dirname(__file__), 'test_suites.yaml'),
'r') as file:
tests = yaml.safe_load(file)
# Ignore tests needing multiple packages or with extra test arguments for
# now.
# TODO: 140179 - Run tests with multiple packages or with extra test
# arguments.
tests = list(
filter(
lambda test: test['test_command'].startswith('test run ') and test[
Expand Down Expand Up @@ -123,7 +123,7 @@ def _get_test_runner(runner_args: argparse.Namespace, *_) -> TestRunner:


if __name__ == '__main__':
logging.warning('Running tests in %s', OUT_DIR)
logging.info('Running tests in %s', OUT_DIR)
sys.argv.append('--out-dir=' + OUT_DIR)
# The 'flutter-test-type' is a place holder and has no specific meaning; the
# _get_test_runner is overrided.
Expand Down