Skip to content

Commit 6413882

Browse files
committed
Increase verbosity in attempt to debug AppVeyour hang
1 parent 5738f29 commit 6413882

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

‎dev/bots/test.dart‎

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Future<Null> _analyzeRepo() async {
109109
);
110110

111111
// Ensure that all package dependencies are in sync.
112-
await _runCommand(flutter, <String>['update-packages', '--verify-only'],
112+
await _runCommand(flutter, <String>['update-packages', '--verify-only'],
113113
workingDirectory: flutterRoot,
114114
);
115115

@@ -138,40 +138,41 @@ Future<Null> _analyzeRepo() async {
138138
Future<Null> _runTests({List<String> options: const <String>[]}) async {
139139
// Verify that the tests actually return failure on failure and success on success.
140140
final String automatedTests = path.join(flutterRoot, 'dev', 'automated_tests');
141+
final List<String> verboseOptions = <String>['-v']..addAll(options);
141142
await _runFlutterTest(automatedTests,
142143
script: path.join('test_smoke_test', 'fail_test.dart'),
143-
options: options,
144+
options: verboseOptions,
144145
expectFailure: true,
145-
printOutput: false,
146+
printOutput: true,
146147
);
147148
await _runFlutterTest(automatedTests,
148149
script: path.join('test_smoke_test', 'pass_test.dart'),
149-
options: options,
150-
printOutput: false,
150+
options: verboseOptions,
151+
printOutput: true,
151152
);
152153
await _runFlutterTest(automatedTests,
153154
script: path.join('test_smoke_test', 'crash1_test.dart'),
154-
options: options,
155+
options: verboseOptions,
155156
expectFailure: true,
156-
printOutput: false,
157+
printOutput: true,
157158
);
158159
await _runFlutterTest(automatedTests,
159160
script: path.join('test_smoke_test', 'crash2_test.dart'),
160-
options: options,
161+
options: verboseOptions,
161162
expectFailure: true,
162-
printOutput: false,
163+
printOutput: true,
163164
);
164165
await _runFlutterTest(automatedTests,
165166
script: path.join('test_smoke_test', 'syntax_error_test.broken_dart'),
166-
options: options,
167+
options: verboseOptions,
167168
expectFailure: true,
168-
printOutput: false,
169+
printOutput: true,
169170
);
170171
await _runFlutterTest(automatedTests,
171172
script: path.join('test_smoke_test', 'missing_import_test.broken_dart'),
172-
options: options,
173+
options: verboseOptions,
173174
expectFailure: true,
174-
printOutput: false,
175+
printOutput: true,
175176
);
176177
await _runCommand(flutter,
177178
<String>['drive', '--use-existing-app']

0 commit comments

Comments
 (0)