Skip to content

Commit ac9acf5

Browse files
dcharkesCommit Queue
authored andcommitted
[deps] Roll dart-lang/native
Change-Id: I556a179784952cf12ff97da155d0f5596f91b500 Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403985 Reviewed-by: Moritz Sümmermann <[email protected]> Commit-Queue: Daco Harkes <[email protected]>
1 parent 6aeb865 commit ac9acf5

File tree

3 files changed

+28
-20
lines changed

3 files changed

+28
-20
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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",

pkg/dartdev/test/native_assets/helpers.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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(

pkg/dartdev/test/native_assets/test_test.dart

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)