Skip to content

Commit 2babdde

Browse files
authored
Precache tizen artifacts before test runs (#375)
1 parent 35c5b6a commit 2babdde

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/lib/src/integration_test_command.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,15 @@ class IntegrationTestCommand extends PackageLoopingCommand {
132132
throw ToolExit(exitCommandFoundErrors);
133133
}
134134
}
135+
136+
final io.ProcessResult processResult = await processRunner.run(
137+
'flutter-tizen',
138+
<String>['precache', '--tizen'],
139+
);
140+
if (processResult.exitCode != 0) {
141+
print('Cannot cache tizen artifacts used for integration-test.');
142+
throw ToolExit(exitCommandFoundErrors);
143+
}
135144
}
136145

137146
/// See: [PluginCommand.getTargetPackages].

0 commit comments

Comments
 (0)