File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ dev_dependencies:
45
45
build_verify : ^3.0.0
46
46
build_version : ^2.1.1
47
47
test : ^1.21.1
48
+ test_common :
49
+ path : ../test_common
48
50
test_descriptor : ^2.0.0
49
51
test_process : ^2.0.2
50
52
webdriver : ^3.0.0
Original file line number Diff line number Diff line change @@ -180,8 +180,7 @@ void main() {
180
180
await process.shouldExit (0 );
181
181
182
182
await d.file ('main.unsound.ddc.js' , isNotEmpty).validate ();
183
- // 'https://github.com/dart-lang/webdev/issues/1892'
184
- }, skip: true );
183
+ });
185
184
});
186
185
187
186
group ('should build with --output=NONE' , () {
@@ -507,8 +506,7 @@ void main() {
507
506
}
508
507
}, timeout: const Timeout .factor (2 ));
509
508
});
510
- // 'https://github.com/dart-lang/webdev/issues/1892'
511
- }, skip: ! soundNullSafety);
509
+ });
512
510
}
513
511
});
514
512
}
Original file line number Diff line number Diff line change @@ -7,13 +7,18 @@ import 'dart:io';
7
7
8
8
import 'package:path/path.dart' as p;
9
9
import 'package:test/test.dart' ;
10
+ import 'package:test_common/test_sdk_configuration.dart' ;
10
11
import 'package:test_process/test_process.dart' ;
11
12
import 'package:webdev/src/util.dart' ;
12
13
13
14
final _webdevBin = p.absolute (p.join ('bin' , 'webdev.dart' ));
15
+ final _sdkConfigurationProvider = TestSdkConfigurationProvider ();
14
16
15
17
Future <TestProcess > runWebDev (List <String > args,
16
18
{String ? workingDirectory}) async {
19
+ // Generate missing test assets in the SDK.
20
+ await _sdkConfigurationProvider.configuration;
21
+
17
22
var fullArgs = [_webdevBin, ...args];
18
23
19
24
return TestProcess .start (dartPath, fullArgs,
You can’t perform that action at this time.
0 commit comments