Set dart defines properly while in debug mode. (#152262)
Turns out just supporting the right value for `kDebugMode` was a lot simpler than I thought. Debug builds used to never go through the build system code path when using `flutter run`, but now that we have wasm this can occur with the run command. This should address https://github.com/flutter/flutter/issues/148850
This commit is contained in:
@@ -224,6 +224,8 @@ class WebTestsSuite {
|
||||
'--dart-define=test.valueB=Value',
|
||||
]
|
||||
),
|
||||
() => _runWebDebugTest('lib/assertion_test.dart'),
|
||||
() => _runWebReleaseTest('lib/assertion_test.dart'),
|
||||
() => _runWebDebugTest('lib/sound_mode.dart'),
|
||||
() => _runWebReleaseTest('lib/sound_mode.dart'),
|
||||
() => _runFlutterWebTest(
|
||||
|
||||
Reference in New Issue
Block a user