Use fx get-build-dir and fx netaddr --fuchsia to make fuchsia_reload more convenient. (#14854)

This commit is contained in:
Ryan Macnak
2018-02-26 15:14:09 -08:00
committed by GitHub
parent aa04a056f3
commit a0ffe87bc3
3 changed files with 55 additions and 44 deletions

View File

@@ -18,8 +18,7 @@ void main() {
testUsingContext('a test', () async {
final FuchsiaDeviceCommandRunner commandRunner =
new FuchsiaDeviceCommandRunner('8.8.9.9',
'~/fuchsia',
'release-x86-64');
'~/fuchsia/out/release-x86-64');
final List<String> ports = await commandRunner.run('ls /tmp');
expect(ports, hasLength(3));
expect(ports[0], equals('1234'));