File tree Expand file tree Collapse file tree 3 files changed +28
-20
lines changed
pkg/dartdev/test/native_assets Expand file tree Collapse file tree 3 files changed +28
-20
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ vars = {
141141 "markdown_rev" : "19aaded4300d24bedcbf52ade792b203ddf030b0" ,
142142 "material_color_utilities_rev" : "799b6ba2f3f1c28c67cc7e0b4f18e0c7d7f3c03e" ,
143143 # dart-native-interop-team@ is rolling breaking changes manually while the assets features are in experimental.
144- "native_rev" : "14368a80bae9e3f381a2e59c91405338d82451ee " , # disable tools/rev_sdk_deps.dart
144+ "native_rev" : "f179ec2693179e48ff1fce827914fd1711c1a941 " , # disable tools/rev_sdk_deps.dart
145145 "protobuf_rev" : "b7dd58cdbd879beee4c3fbf8ee80fce8e97bad26" ,
146146 "pub_rev" : "58de642dc1d07601f6eb2b4ecd94555c0210106b" , # disable tools/rev_sdk_deps.dart
147147 "shelf_rev" : "bf799519cda2898a7c5af06dcfdd5fe6443afd79" ,
Original file line number Diff line number Diff line change @@ -184,8 +184,10 @@ Future<void> nativeAssetsTest(
184184 'dart_app' ,
185185 'drop_dylib_link' ,
186186 'native_add_duplicate' ,
187+ 'native_add_version_skew' ,
187188 'native_add' ,
188189 'native_dynamic_linking' ,
190+ 'system_library' ,
189191 'treeshaking_native_libs' ,
190192 ],
191193 Platform .script.resolve (
Original file line number Diff line number Diff line change @@ -13,27 +13,33 @@ void main(List<String> args) async {
1313 // No --source option, `dart run` from source does not output target program
1414 // stdout.
1515
16- test ('dart test' , timeout: longTimeout, () async {
17- await nativeAssetsTest ('native_add' , (packageUri) async {
18- final result = await runDart (
19- arguments: [
20- '--enable-experiment=native-assets' ,
21- 'test' ,
22- ],
23- workingDirectory: packageUri,
24- logger: logger,
25- );
26- expect (
27- result.stdout,
28- stringContainsInOrder (
29- [
30- 'native add test' ,
31- 'All tests passed!' ,
16+ for (final package in [
17+ 'native_add' ,
18+ 'native_add_version_skew' ,
19+ 'native_dynamic_linking' ,
20+ 'system_library' ,
21+ ]) {
22+ test ('package:$package dart test' , timeout: longTimeout, () async {
23+ await nativeAssetsTest (package, (packageUri) async {
24+ final result = await runDart (
25+ arguments: [
26+ '--enable-experiment=native-assets' ,
27+ 'test' ,
3228 ],
33- ),
34- );
29+ workingDirectory: packageUri,
30+ logger: logger,
31+ );
32+ expect (
33+ result.stdout,
34+ stringContainsInOrder (
35+ [
36+ 'All tests passed!' ,
37+ ],
38+ ),
39+ );
40+ });
3541 });
36- });
42+ }
3743
3844 test ('dart run test:test' , timeout: longTimeout, () async {
3945 await nativeAssetsTest ('native_add' , (packageUri) async {
You can’t perform that action at this time.
0 commit comments