Files
openclaw/test/scripts/android-perf-scripts.test.ts
Vincent Koc 88876f780b fix(android): preserve device work across lifecycle changes (#116593)
* fix(android): use configured SDK for screenshot AVDs

* fix(android): keep chat jump control clear of messages

* fix(wear): ignore stale control completions

* fix(android): advertise node permission changes

* fix(android): select play flavor for benchmarks

* test(android): decouple cron benchmark from copy

* fix(android): install play variant in perf scripts

* fix(wear): clear gateway control busy state

* fix(android): surface voice e2e connection errors

* test(android): cover common live node commands

* fix(android): retain share parsing across recreation

* fix(android): retain permission requests across recreation

* fix(wear): bind realtime audio to talk attempts

* fix(android): track active permission host

* fix(wear): own gateway control busy state

* fix(wear): admit realtime channels by attempt

* fix(android): refresh permissions on top resume

* fix(wear): serialize reconnect retirement with writes

* chore(i18n): refresh native source inventory

* fix(wear): retain pending audio through start RPC

* fix(wear): negotiate realtime channel compatibility

* test(wear): assert reconnect outcome without owner churn

* fix(android): move settings prompt with active host

* fix(wear): reject stale relay starts

* chore(changelog): leave notes to release generation
2026-07-31 09:49:11 +08:00

17 lines
522 B
TypeScript

import { readFileSync } from "node:fs";
import { describe, expect, it } from "vitest";
const PERF_SCRIPTS = [
"apps/android/scripts/perf-online-benchmark.sh",
"apps/android/scripts/perf-startup-hotspots.sh",
];
describe("Android performance scripts", () => {
it.each(PERF_SCRIPTS)("installs the Play debug variant in %s", (scriptPath) => {
const script = readFileSync(scriptPath, "utf8");
expect(script).toContain(":app:installPlayDebug");
expect(script).not.toContain(":app:installDebug");
});
});