fix(tester): route mobile checks by platform binding
This commit is contained in:
@@ -25,6 +25,16 @@ bindings:
|
||||
上执行测试。`tester.test` 只能用于明确的单平台或非移动测试;同一轮包含 Android
|
||||
和 iOS 时必须分别解析两个 tester 绑定。
|
||||
|
||||
移动 bundle 入口必须把平台绑定显式传入:
|
||||
|
||||
```bash
|
||||
--binding android=tester.android --binding ios=tester.ios
|
||||
```
|
||||
|
||||
入口会校验 preflight matrix 的每个平台 binding、node 和 runner。远程 iOS 必须是
|
||||
`contract` runner;多平台运行不会读取旧的单一 `local.yaml.agent` 来决定执行节点,
|
||||
也不会在协调节点直接执行 Android/iOS 平台命令。
|
||||
|
||||
`locations` 和 `profiles` 的定义见共享 `agent-runtime`。tester adapter 只把它 materialize
|
||||
到本轮兼容配置;每轮 terminal 仍然新建并在结束时关闭,不能因为 binding 是 persistent
|
||||
就复用测试 terminal。
|
||||
|
||||
Reference in New Issue
Block a user