Make font-subset
a standalone run_tests.py
variant. (#162016)
Closes https://github.com/flutter/flutter/issues/161538.
This commit is contained in:
parent
e33e4f0476
commit
dc42bcf2ec
@ -67,7 +67,7 @@
|
|||||||
"--variant",
|
"--variant",
|
||||||
"ci/host_debug_unopt",
|
"ci/host_debug_unopt",
|
||||||
"--type",
|
"--type",
|
||||||
"dart,dart-host,engine",
|
"dart,dart-host,engine,font-subset",
|
||||||
"--engine-capture-core-dump",
|
"--engine-capture-core-dump",
|
||||||
"--use-sanitizer-suppressions"
|
"--use-sanitizer-suppressions"
|
||||||
]
|
]
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
"--variant",
|
"--variant",
|
||||||
"ci/host_debug_arm64_tests",
|
"ci/host_debug_arm64_tests",
|
||||||
"--type",
|
"--type",
|
||||||
"dart,dart-host,engine",
|
"dart,dart-host,engine,font-subset",
|
||||||
"--engine-capture-core-dump"
|
"--engine-capture-core-dump"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"--variant",
|
"--variant",
|
||||||
"ci/host_debug_unopt",
|
"ci/host_debug_unopt",
|
||||||
"--type",
|
"--type",
|
||||||
"engine",
|
"engine,font-subset",
|
||||||
"--engine-capture-core-dump"
|
"--engine-capture-core-dump"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1372,7 +1372,7 @@ Flutter Wiki page on the subject: https://github.com/flutter/flutter/wiki/Testin
|
|||||||
run_benchmark_tests(build_dir)
|
run_benchmark_tests(build_dir)
|
||||||
run_engine_benchmarks(build_dir, engine_filter)
|
run_engine_benchmarks(build_dir, engine_filter)
|
||||||
|
|
||||||
if ('engine' in types or 'font-subset' in types) and 'debug' in build_dir:
|
if 'font-subset' in types:
|
||||||
cmd = ['python3', 'test.py', '--variant', args.variant]
|
cmd = ['python3', 'test.py', '--variant', args.variant]
|
||||||
if 'arm64' in args.variant:
|
if 'arm64' in args.variant:
|
||||||
cmd += ['--target-cpu', 'arm64']
|
cmd += ['--target-cpu', 'arm64']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user