mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
[testing] Create list from test list iterable
This fixes a bug in test.py's new --tests option. Change-Id: I0410972116045c612429565081ad84735d2d2bf1 Reviewed-on: https://dart-review.googlesource.com/c/92784 Auto-Submit: Alexander Thomas <athom@google.com> Commit-Queue: William Hesse <whesse@google.com> Reviewed-by: William Hesse <whesse@google.com>
This commit is contained in:
parent
66c404a26e
commit
0541640e37
|
@ -513,7 +513,7 @@ compiler.''',
|
||||||
if (configuration.containsKey('test_list_contents')) {
|
if (configuration.containsKey('test_list_contents')) {
|
||||||
_fail('--tests and --test-list cannot be used together');
|
_fail('--tests and --test-list cannot be used together');
|
||||||
}
|
}
|
||||||
configuration['test_list_contents'] = LineSplitter.split(tests);
|
configuration['test_list_contents'] = LineSplitter.split(tests).toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
return _createConfigurations(configuration);
|
return _createConfigurations(configuration);
|
||||||
|
|
Loading…
Reference in a new issue