memwatch: quiet bounded test summary off a terminal; bounded analyze wrapper
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.
This commit is contained in:
@@ -2,4 +2,6 @@
|
||||
# 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" "$@"
|
||||
|
||||
Reference in New Issue
Block a user