Unverified Commit 272b23ca authored by nturgut's avatar nturgut Committed by GitHub

[web] make sure tests and benchmarks use correct backend - add autodetect false (#73047)

* add autodetect false

* fix typo
parent 8f5d0371
...@@ -997,6 +997,8 @@ Future<void> _runGalleryE2eWebTest(String buildMode, { bool canvasKit = false }) ...@@ -997,6 +997,8 @@ Future<void> _runGalleryE2eWebTest(String buildMode, { bool canvasKit = false })
'--dart-define=FLUTTER_WEB_USE_SKIA=true', '--dart-define=FLUTTER_WEB_USE_SKIA=true',
if (!canvasKit) if (!canvasKit)
'--dart-define=FLUTTER_WEB_USE_SKIA=false', '--dart-define=FLUTTER_WEB_USE_SKIA=false',
if (!canvasKit)
'--dart-define=FLUTTER_WEB_AUTO_DETECT=false',
'--driver=test_driver/transitions_perf_e2e_test.dart', '--driver=test_driver/transitions_perf_e2e_test.dart',
'--target=test_driver/transitions_perf_e2e.dart', '--target=test_driver/transitions_perf_e2e.dart',
'--browser-name=chrome', '--browser-name=chrome',
...@@ -1151,6 +1153,7 @@ Future<void> _runWebDebugTest(String target, { ...@@ -1151,6 +1153,7 @@ Future<void> _runWebDebugTest(String target, {
'chrome', 'chrome',
'--web-run-headless', '--web-run-headless',
'--dart-define=FLUTTER_WEB_USE_SKIA=false', '--dart-define=FLUTTER_WEB_USE_SKIA=false',
'--dart-define=FLUTTER_WEB_AUTO_DETECT=false',
...additionalArguments, ...additionalArguments,
'-t', '-t',
target, target,
......
...@@ -31,6 +31,8 @@ Future<TaskResult> runWebBenchmark({ @required bool useCanvasKit }) async { ...@@ -31,6 +31,8 @@ Future<TaskResult> runWebBenchmark({ @required bool useCanvasKit }) async {
'--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true', '--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true',
if (!useCanvasKit) if (!useCanvasKit)
'--dart-define=FLUTTER_WEB_USE_SKIA=false', '--dart-define=FLUTTER_WEB_USE_SKIA=false',
if (!useCanvasKit)
'--dart-define=FLUTTER_WEB_AUTO_DETECT=false',
if (useCanvasKit) if (useCanvasKit)
'--dart-define=FLUTTER_WEB_USE_SKIA=true', '--dart-define=FLUTTER_WEB_USE_SKIA=true',
'--profile', '--profile',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment