forked from firka/flutter
Enable bitcode compilation for AOT (#36471)
This commit is contained in:
@@ -141,3 +141,14 @@ const Timeout allowForRemotePubInvocation = Timeout.factor(10.0);
|
||||
/// Test case timeout for tests involving creating a Flutter project with
|
||||
/// `--no-pub`. Use [allowForRemotePubInvocation] when creation involves `pub`.
|
||||
const Timeout allowForCreateFlutterProject = Timeout.factor(3.0);
|
||||
|
||||
Future<void> expectToolExitLater(Future<dynamic> future, Matcher messageMatcher) async {
|
||||
try {
|
||||
await future;
|
||||
fail('ToolExit expected, but nothing thrown');
|
||||
} on ToolExit catch(e) {
|
||||
expect(e.message, messageMatcher);
|
||||
} catch(e, trace) {
|
||||
fail('ToolExit expected, got $e\n$trace');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -606,4 +606,7 @@ class FakeProcessResult implements ProcessResult {
|
||||
|
||||
@override
|
||||
final dynamic stdout;
|
||||
|
||||
@override
|
||||
String toString() => stdout?.toString() ?? stderr?.toString() ?? runtimeType.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user