#!/usr/bin/env bash # Run apps/cotton's CottonUITests on this Mac from a package outside the tree, where the FFI stub cannot stop them. # # scripts/ui-tests-stub.sh # every test, this checkout # scripts/ui-tests-stub.sh -- --filter TableDefinition # extra args go to `swift test` # scripts/ui-tests-stub.sh --checkout .worktrees/foo --summary -- --filter Notes # scripts/ui-tests-stub.sh --prepare-only # write the package, sync, build nothing # scripts/ui-tests-stub.sh --speed # synthetic simulator frame timings # scripts/ui-tests-stub.sh --fan-perf [--fan-sim ] # # the fan's budgets traced (scripts/perf/fan.sh) # scripts/ui-tests-stub.sh --scroll-perf [--fan-sim ] # # lists flung under the fan, traced (scripts/perf/scroll.sh) # scripts/ui-tests-stub.sh --voice # dictation accuracy on synthetic speech (this Mac) # scripts/ui-tests-stub.sh --voice --recording