Enable flutter drive on Windows (#8146)
... and run some more tests on Windows.
This commit is contained in:
committed by
GitHub
parent
36f6405179
commit
7231fd3ed6
@@ -53,7 +53,6 @@ Future<Null> main() async {
|
||||
workingDirectory: p.join(flutterRoot, 'packages', 'flutter_driver'),
|
||||
expectFailure: true,
|
||||
printOutput: false,
|
||||
skip: Platform.isWindows, // TODO(goderbauer): run on Windows when 'drive' command works
|
||||
);
|
||||
|
||||
List<String> coverageFlags = <String>[];
|
||||
|
||||
@@ -14,7 +14,7 @@ void main() {
|
||||
for (String testName in testNames) {
|
||||
options..addAll(<String>['-t', testName]);
|
||||
}
|
||||
Process scriptProcess = await Process.start(
|
||||
ProcessResult scriptProcess = Process.runSync(
|
||||
'../../bin/cache/dart-sdk/bin/dart',
|
||||
options,
|
||||
);
|
||||
@@ -35,7 +35,7 @@ void main() {
|
||||
|
||||
test('exits with code 1 when task throws', () async {
|
||||
expect(await runScript(<String>['smoke_test_throws']), 1);
|
||||
}, skip: Platform.isWindows); // TODO(goderbauer): figure out why this fails on Windows
|
||||
});
|
||||
|
||||
test('exits with code 1 when fails', () async {
|
||||
expect(await runScript(<String>['smoke_test_failure']), 1);
|
||||
|
||||
Reference in New Issue
Block a user