#!/bin/bash # Mac 上的触屏端到端:与真机 touch_e2e.sh 同参数、同产物名,被测的是同一个 iOS 包(smoke_mac.sh 包好的 <树>/.iosdd_mac/DmMacSmoke.app,先跑过一次 smoke_mac.sh 或自行构建)。 # [PREFIX=c2s.jsonl] [E2E_REF=956x440] tools/touch_e2e_mac.sh <脚本文件> <结果目录> [秒=60] # E2E_REF=<宽>x<高>(如真机的 956x440):脚本里的裸坐标是按这个点数的屏幕写的,由 App 换算到 Mac 窗口(DM_TOUCH_REF,front_ios.m scriptPoint);@名字 的控件目标不换算。 # 文件直接读写 App 容器(不经 devicectl,每份省约 20 s);与 Mac 冒烟共用一把锁(同一容器)。 # Touch end-to-end on the Mac: same parameters and same output names as the real-device touch_e2e.sh; what is tested is the same iOS app (/.iosdd_mac/DmMacSmoke.app packaged by smoke_mac.sh; run smoke_mac.sh once first or build it yourself). # [PREFIX=c2s.jsonl] [E2E_REF=956x440] tools/touch_e2e_mac.sh