()
| 38 | |
| 39 | |
| 40 | def read_baseline() -> int: |
| 41 | raw = BASELINE_FILE.read_text(encoding="utf-8").strip() |
| 42 | if not raw: |
| 43 | print( |
| 44 | f"esp32s3-bloat-regression: baseline file is empty: {BASELINE_FILE}", |
| 45 | file=sys.stderr, |
| 46 | ) |
| 47 | sys.exit(2) |
| 48 | return int(raw) |
| 49 | |
| 50 | |
| 51 | def run_bloat(skip_build: bool) -> None: |