"""Host-only regression tests for the release partition LUT generator.""" import hashlib import json from pathlib import Path import struct import sys import tempfile import unittest from unittest.mock import patch sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "scripts")) import precompute_esp32_partitions as catalog def entry(kind, subtype, start, size, label): return struct.pack("