941d2a7148
run.sh now records flutter's JSON results beside the log and prints a summary from tool/memwatch/summary.dart: one verdict line (pass/fail/skip counts, peak MB, duration, exit status), only failing tests with their error and app stack frames (framework frames dropped, per-test and total caps, tail of printed output), the tests still running when killed, and the log and JSON paths. Quiet is the default when stdout is not a terminal; MEMWATCH_OUTPUT=full also prints the whole log. The watchdog loop and exit status are unchanged. tool/analyze.sh bounds flutter analyze to a verdict line and the first 40 issues. Tests: test/tool/memwatch/summary_test.dart and the end-to-end tool/memwatch/quiet_test.sh over fixture suites.
8 lines
436 B
Bash
Executable File
8 lines
436 B
Bash
Executable File
#!/bin/bash
|
|
# THE way to run app tests (from app/): tool/memwatch/full.sh test
|
|
# Also for focused runs: tool/memwatch/full.sh test/features/runs
|
|
# Concurrency 4, 12 GB cap for this run only (see run.sh beside this file).
|
|
# Off a terminal the output is quiet: one verdict line, the failing tests only
|
|
# (bounded), and the full log path. MEMWATCH_OUTPUT=full also prints the log.
|
|
CONC=4 CAP_KB=12000000 exec "$(dirname "$0")/run.sh" "$@"
|