Skip to content

Commit f4c3da4

Browse files
committed
[fuchsia-test-runner] Explicitly target fuchsia-emulator
By explicitly specifying the fuchsia-emulator target, locally running fuchsia-test-runner.py will not fail when there are other targets available.
1 parent 5fb116d commit f4c3da4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ci/docker/scripts/fuchsia-test-runner.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,8 @@ def start(self):
620620
check_call_with_logging(
621621
[
622622
ffx_path,
623+
"-t",
624+
"fuchsia-emulator",
623625
"target",
624626
"repository",
625627
"register",
@@ -882,6 +884,8 @@ def run(self, args):
882884
check_call_with_logging(
883885
[
884886
self.tool_path("ffx"),
887+
"-t",
888+
"fuchsia-emulator",
885889
"test",
886890
"run",
887891
f"fuchsia-pkg://{self.TEST_REPO_NAME}/{package_name}#meta/{package_name}.cm",
@@ -1019,6 +1023,8 @@ def cleanup(self):
10191023
def debug(self, args):
10201024
command = [
10211025
self.tool_path("ffx"),
1026+
"-t",
1027+
"fuchsia-emulator",
10221028
"debug",
10231029
"connect",
10241030
"--",
@@ -1116,6 +1122,8 @@ def syslog(self, args):
11161122
subprocess.run(
11171123
[
11181124
self.tool_path("ffx"),
1125+
"-t",
1126+
"fuchsia-emulator",
11191127
"log",
11201128
"--since",
11211129
"now",

0 commit comments

Comments
 (0)