@@ -30,12 +30,6 @@ String localEngine;
|
||||
/// The path to the engine "src/" directory.
|
||||
String localEngineSrcPath;
|
||||
|
||||
/// Name of the LUCI builder this test is currently running on.
|
||||
///
|
||||
/// This is only passed on CI runs for Cocoon to be able to uniquely identify
|
||||
/// this test run.
|
||||
String luciBuilder;
|
||||
|
||||
/// Whether to exit on first test failure.
|
||||
bool exitOnFirstTestFailure;
|
||||
|
||||
@@ -87,10 +81,9 @@ Future<void> main(List<String> rawArgs) async {
|
||||
}
|
||||
|
||||
deviceId = args['device-id'] as String;
|
||||
exitOnFirstTestFailure = args['exit'] as bool;
|
||||
localEngine = args['local-engine'] as String;
|
||||
localEngineSrcPath = args['local-engine-src-path'] as String;
|
||||
luciBuilder = args['luci-builder'] as String;
|
||||
exitOnFirstTestFailure = args['exit'] as bool;
|
||||
serviceAccountTokenFile = args['service-account-token-file'] as String;
|
||||
silent = args['silent'] as bool;
|
||||
|
||||
@@ -118,9 +111,7 @@ Future<void> _runTasks() async {
|
||||
|
||||
if (serviceAccountTokenFile != null) {
|
||||
final Cocoon cocoon = Cocoon(serviceAccountTokenPath: serviceAccountTokenFile);
|
||||
/// Cocoon's definition of a task is more specific than [taskName], and to
|
||||
/// upload we instead send the [luciBuilder] this is running on.
|
||||
await cocoon.sendTaskResult(taskName: luciBuilder, result: result);
|
||||
await cocoon.sendTaskResult(taskName: taskName, result: result);
|
||||
}
|
||||
|
||||
if (!result.succeeded) {
|
||||
@@ -347,10 +338,6 @@ final ArgParser _argParser = ArgParser()
|
||||
'locally. Defaults to \$FLUTTER_ENGINE if set, or tries to guess at\n'
|
||||
'the location based on the value of the --flutter-root option.',
|
||||
)
|
||||
..addOption(
|
||||
'luci-builder',
|
||||
help: '[Flutter infrastructure] Name of the LUCI builder being run on.'
|
||||
)
|
||||
..addFlag(
|
||||
'match-host-platform',
|
||||
defaultsTo: true,
|
||||
|
||||
Reference in New Issue
Block a user