Devicelab android emulator (#113472)
* Testing whether emulator is possible. * Adding changes to see if emulator can be used from recipe. * adding emulator support. * Add the emulator flag for testing. * Using string for boolean since it cannot be parsed in properties * Checking to see if these changes are being used. * Updated bool back to string * Remove trailing whitespace from file.
This commit is contained in:
@@ -51,6 +51,10 @@ class TestCommand extends Command<void> {
|
||||
'silent',
|
||||
help: 'Suppresses standard output and only print standard error output.',
|
||||
);
|
||||
argParser.addFlag(
|
||||
'use-emulator',
|
||||
help: 'Use an emulator instead of a device to run tests.'
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -74,6 +78,7 @@ class TestCommand extends Command<void> {
|
||||
luciBuilder: argResults!['luci-builder'] as String?,
|
||||
resultsPath: argResults!['results-file'] as String?,
|
||||
silent: (argResults!['silent'] as bool?) ?? false,
|
||||
useEmulator: (argResults!['use-emulator'] as bool?) ?? false,
|
||||
taskArgs: taskArgs,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user